I believe I have found a merge request related to the bug upstream:
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4686

If you look at the referencing issues, both the automated shortcut and
sticky keys issues might be fixed by this merge request.

Furthermore, it is interesting to note that an issue related to poor
CapsLock behavior in Xwayland applications is also referencing this
merge request.  I can confirm I have inconsistent CapsLock responses in
questing.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2125240

Title:
  Modifier key state changes ignored if too fast

Status in mutter package in Ubuntu:
  New

Bug description:
  Ubuntu 25.10
  Mutter 49~rc-0ubuntu2
  Wayland

  Regression from plucky resulting in instant keyboard shortcuts being handled 
out of order. For example, if the evtest sequence shows:
  Shift down
  Syn
  ... seconds later
  A down
  Syn
  Shift up
  Syn
  ...
  A up
  Syn

  where the A down, Syn, Shift up, Syn events occur within < 1-5 ms of
  each other, the modifier is handled before the A, causing lowercase A
  to be pressed.  Adding a 5 ms delay between those events fixes the
  issue.

  Similiar issue with (untested) fix for Mutter 49:  
https://gitlab.gnome.org/GNOME/mutter/-/issues/4315
  (It appears this is not the fix as mutter 49.0-2ubuntu1 does not fix the 
issue.)

  Expectation:
  Order of key release events respected, so automated shortcuts work.

  Problem:
  With keyd or another input remapper via evdev/uinput, if modifier is released 
< 1-5 ms after the key in a shortcut, mutter reads the event as if no modifier 
was pressed.

  Similarly, with sticky keys enabled in Settings, sometimes a modifier
  that's latched will be lost on the press of the key.

  (When I refer to the key, I am referring to the final key in a
  shortcut, i.e., A in Shift+A)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2125240/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to