-
Notifications
You must be signed in to change notification settings - Fork 132
xkb *_Latch key doesn’t work well on Wayland #1301
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
Comments
ISO_Level5_Latch
) doesn’t work wellISO_Level5_Latch
) doesn’t work well on Wayland
ISO_Level5_Latch
) doesn’t work well on Wayland
Please paste fcitx5-diagnose. Setting xkb layout from fcitx5 is only supported under certain wayland desktop |
I pasted it, it’s hidden you have to click on “click here” (I can edit my post to unhide it if you prefer). |
@ariasuni one thing I don't get is that there is no "ergozl" in xkeyboard-config (arch's current version 2.44). How did you configured that in fcitx? are you using fcitx5-configtool to do it? Are you using a custom xkb config?
I can only see "ergol" |
Ergo-ZL is my personal variant of Ergo-L, I tested with Ergo-L and the bug is exactly the same. |
which key is latch level 5? I ran kbd-layout-viewer5 (from fcitx5-configtool) and didn't see it has latch level 5. do you need a specific xkb option to enable level 5 key ? |
ah, I think somehow latch level 5 is very special on this layout so it was not shown as I expected. In both case, the key on fcitx side are the same, however, it is wrong on the app side. I think the main issue is the inconsistent modifier state on fcitx side and app side. Latch modifier was reset before input method reinject the unhandled key. so that's why there's such inconsistency. I think I have seen a different issue before, though, unfortunately, to fix it would require effort from both fcitx and compositor side. Without fcitx: With fcitx: |
I opened a bug on kwin side: https://invent.kde.org/plasma/kwin/-/issues/272 |
Issue before that has the same cause: #893 |
Summary
Ergo-L (fr-ergol) uses a key as
ISO_Level5_Latch
, which works as both as either a modifier (if pressed and maintained at the same time as another key) or a dead key (if pressed and released before hitting another key).But with fcitx enabled, it doesn’t work as expected, in Wayland applications (works in Electron apps using XWayland).
(same issue than phuang/ibus#26 but with slightly different behavior)
Steps to Reproduce
Expected Behavior
Normally, in Ergo-L only:
dead_diaeresis
.With GTK applications, pressing and releasing typo becomes
dead_diaeresis
with preedit (¨):With Qt applications, pressing and releasing typo becomes
dead_diaeresis
like with GTK, but without the preedit for (¨):Output of fcitx5-diagnose command
click here
The text was updated successfully, but these errors were encountered: