-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second keyboard layout makes binds behave differently #283
Comments
@kchibisov any idea what's going on here? Maybe something to do with "raw latin or keysym" resolution? |
The latin key is traversed in all layouts, de likely has a latin key here, so it's not getting checked in other layout? One solution would be to check all latin layouts, but it could be really confusing, since you know that you have a key in a completely different place on this particular layout. So I'd say that the current behavior is expected because DE layout is latin capable, and it doesn't have such binding at all. Maybe it should resolve other layouts, but it's really tricky. I'd probably suggest to change the way how the bindings resolution is done, by having a bindings layout or something, probably much simpler and reliably than a bunch of heuristics, though, it could be not that consistent in regular apps... |
@fyrk I wonder, do you see the same issue in apps? With a bind like Ctrl+odiaeresis. |
Okay, so, I made a few tests.
I also noticed that typing Mod+odiaresis using
Is there anything else I can test? |
Thanks for the testing.
Yes, that is expected. The problem here is that the
Yeah, would you be able to try what a Ctrl+ö (or Alt+ö or Shift+ö, anything) bind does in other toolkits too, not just kitty? E.g. Firefox (GTK 3), something GTK 4, VSCode. Specifically, do they reproduce the same issue where with just |
Say I have these keybinds configured:
(
odiaeresis
is "Ö", as reported by wez)I use the Noted layout, and have configured it using
layout "noted"
, which makes the keybinds work as expected.If, however, I add a second layout (
layout "noted,de"
), the first keybind stops working (just types an "ö"), while the second one works as before. Interestingly, changing the first keybind toMod+B { spawn "org.mozilla.firefox"; }
will make it work with two layouts (Noted's "Ö" is B on a QWERTZ/Y layout)System Information
The text was updated successfully, but these errors were encountered: