Bug: xkb group2 handling not working, and also breaks reading hyprland config file #10126
Unanswered
csdvrx
asked this question in
Bugs - Input
Replies: 2 comments 4 replies
-
if it's a regression, please bisect. Otherwise, I'd check something like sway, as layout handling is not done by hyprland |
Beta Was this translation helpful? Give feedback.
4 replies
-
Likely xkbcommon/libxkbcommon#806. @vaxerski If you suspect an upstream issue, please inform us or redirect bug reporters at https://github.com/xkbcommon/libxkbcommon, so that we can get it sorted. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This was reported before as issue #9667 which seems to also be the cause of #8402
It is not currently in the discussions, and seem to be a regression as it was working fine before. I can confirm it's present in at least 0.47.2, and still present in 0.48.1
Description
I have a custom layout file in my ~/.config/xkb/symbols/ directory which was working fine.
After upgrading hyprland a few weeks ago, this layout file started breaking hyprland config: anything below the input the section with the
kb_layout=myfilename
was ignoredThere is no error message and no log: I can only notice the problem due to some of the hyprland config options being ignored (those after the kb_layout line)
When I tried to move the input section to a separate file with
source=separate_file
, hyprland complained about a "source globbing error"I think it is a regression, because this xkb file was working very well before hyprland update, and I had not touched the xkb file for weeks when it broke.
After exploring the problem, I found that's it due to having 2 groups in my config file: I could replicate the issue with the attached minimal xkb file
us_jp_min.txt
When using this file, AltGr ~ gives RO (ろ : U308d), and pressing once on the left Alt key should cause group latching (switch to group 2) and make AltGr ~ now give ロ (by kana_RO defaulting to U+30ed)
However, this does not happen: the only ouput of AltGr ~ is ろ, even if trying to change to group2 with the left Alt
This means group2 does not work, which seems to be the same issue behind another issue #8402 where the change between the 2 layouts is done using groups, and has stopped working.
Worse: using my minimal test file, when uncommenting the "name[Group2]" line, the config file break issue starts happening: anything below
kb_layout=myfilename
will be silently ignoredIt is likely the group2 definition of the individual keys are silently discarded, while trying to declare the name of the group2 makes the lack of group2 definitions become a problem
How to reproduce
kb_layout = us_jp_min
hyprctl reload config-only
hyprctl reload config-only
Beta Was this translation helpful? Give feedback.
All reactions