** Description changed:

+ [ Impact ]
+ 
+ When a key is auto-repeating and a second key is pressed, releasing the
+ first key stops the repeat of the second key. This affects GTK4/Wayland
+ clients that use server-side key repeat (wl_keyboard version 10), such as
+ GNOME Text Editor and Ptyxis, and makes cursor-key navigation awkward.
+ 
+ The fix only cancels the repeat when the released key is the one driving
+ it, and leaves an ongoing repeat alone when a non-repeating key is
+ pressed.
+ 
+ [ Test Plan ]
+ 
+ 1. Open a GTK4 text editor or terminal with a large file.
+ 2. Hold Down until it auto-repeats, then press and hold Right without
+    releasing Down; release Down. Right should keep repeating.
+ 3. Repeat with three keys held and with modifier keys.
+ 4. Regression check: normal single-key repeat starts and stops correctly,
+    and releasing the repeating key stops it immediately.
+ 
+ [ Where problems could occur ]
+ 
+ The change is in the native seat key handling. A regression could show up
+ as a key that never repeats, a repeat that continues after release, or
+ modifier handling disturbing repeat. Test normal typing, modifier
+ combinations, and multiple simultaneous keys.
+ 
+ [ Original description ]
+ 
  I was pointed here from https://discourse.ubuntu.com/t/resolute-
  regression-in-keyboard-autorepeat-behaviour/81055
  
  I’ve updated from 24.04 to 26.04 and found a regression regarding
  keyboard autorepeat behaviour. When autorepeating one key and I switch
  to second key – without releasing the first key strictly serially first
  – the autorepeat for the second key won’t kick in. This can be
  reproduced with any two keys I assume, most prominently the cursor keys.
  I tried both terminal (Ptyxis) and a GTK app (Gnome Text Editor). I
  tried three keyboards connected to the same machine (internal notebook
  keyboard and two external USB – one of them I crosstested against
  Bazzite Linux/Gnome 49/Mutter 49 which worked as expecteed).
  
  Test case:
  
  * Open any decently sized text file (e.g. log file) in either nano or Gnome 
Text Editor (or I assume any other editor). The cursor should by placed at the 
beginning of the file.
  * Press and hold key down until the key autorepeats. Cursor will move down 
continuously.
  * Without releasing down, press and hold right, then release down. The cursor 
will move one char right but autorepeat won’t kick in.
  
  The issue wasn’t present in 24.04. One could argue you’re supposed to
  press keys strictly serially. But I’m afraid that’s not reality for most
  (somewhat advanced) keyboard users.
  
  Apparently there was a similar issue in Wayland 9 years ago, but it was fixed:
  https://bugzilla.gnome.org/show_bug.cgi?id=781285
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: mutter (not installed)
  ProcVersionSignature: Ubuntu 7.0.0-14.14-generic 7.0.0
  Uname: Linux 7.0.0-14-generic x86_64
  ApportVersion: 2.34.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Apr 26 15:45:35 2026
  SourcePackage: mutter
  UpgradeStatus: Upgraded to resolute on 2026-04-24 (2 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2150377

Title:
  Resolute: Regression in keyboard autorepeat behaviour

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to