Skip to content

xkb *_Latch key doesn’t work well on Wayland #26

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

Open
ariasuni opened this issue Mar 20, 2025 · 0 comments
Open

xkb *_Latch key doesn’t work well on Wayland #26

ariasuni opened this issue Mar 20, 2025 · 0 comments

Comments

@ariasuni
Copy link

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 IBus enabled, it doesn’t work as expected, in Wayland applications (works in Electron apps using XWayland).

(same issue than fcitx/fcitx5#1301 but with slightly different behavior)

Steps to Reproduce

  1. Configure IBus, with Ergo-L as keyboard layout.
  2. Try to hit the “typo” key (o in qwerty) and another letter (e.g. s or q, which are in the same position as qwerty, or e which is d in qwerty)

Expected Behavior

Normally, in Ergo-L only:

  • typo then s = é
  • typo then q = â
  • typo then typo = dead_diaeresis .
  • typo then typo then e = ë.

With GTK applications, pressing and releasing typo becomes dead_diaeresis with preedit (¨):

  • typo then s = ¨s, typo maintained and s = ¨é
  • typo then q = ¨q, typo maintained and q =¨â
  • typo then typo then e then e then e etc. = ë¨e¨e¨ etc.

With Qt applications, pressing and releasing typo becomes dead_diaeresis like with GTK, but without the preedit for (¨):

  • typo then s = s (typo maintained works correctly)
  • typo then q = q (typo maintained works correctly)
  • typo then e = ë (typo maintained works correctly)
  • typo then typo then e = ë (in this case, the preedit appears)
@ariasuni ariasuni changed the title xkb *_Latch key (e.g. ISO_Level5_Latch) doesn’t work well xkb *_Latch key (e.g. ISO_Level5_Latch) doesn’t work well on Wayland Mar 20, 2025
@ariasuni ariasuni changed the title xkb *_Latch key (e.g. ISO_Level5_Latch) doesn’t work well on Wayland xkb *_Latch key doesn’t work well on Wayland Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant