Public bug reported:

I switch into Mattermost with Windows+3 key combination, this causes an
endless stream of 3 to be written into the mattermost field until I
press another key (similarly for any other number key, I did not try
non-numbers)

If we look at the keyboard input device with
https://github.com/DIGImend/evdev-dump we can see that the key is not
stuck, all the input events are correct:

/dev/input/event4  1725622057.447632 EV_MSC MSC_SCAN 0x000000DB
/dev/input/event4  1725622057.447632 EV_KEY KEY_LEFTMETA 0x00000002
^ press windows key
/dev/input/event4  1725622057.447632 EV_SYN SYN_REPORT 0x00000000
/dev/input/event4  1725622057.477343 EV_MSC MSC_SCAN 0x00000004
/dev/input/event4  1725622057.477343 EV_KEY KEY_3 0x00000001
^ press key 3
/dev/input/event4  1725622057.477343 EV_SYN SYN_REPORT 0x00000000
/dev/input/event4  1725622057.627896 EV_MSC MSC_SCAN 0x00000004
/dev/input/event4  1725622057.627896 EV_KEY KEY_3 0x00000000
^ release key 3
/dev/input/event4  1725622057.627896 EV_SYN SYN_REPORT 0x00000000
/dev/input/event4  1725622057.997495 EV_MSC MSC_SCAN 0x000000DB
/dev/input/event4  1725622057.997495 EV_KEY KEY_LEFTMETA 0x00000000
^ release windows key (now it starts endlessly dumping 3 into mattermost)

/dev/input/event4  1725622057.997495 EV_SYN SYN_REPORT 0x00000000
/dev/input/event4  1725622059.869769 EV_MSC MSC_SCAN 0x000000DB
/dev/input/event4  1725622059.869769 EV_KEY KEY_LEFTMETA 0x00000001
^ press windows key again
/dev/input/event4  1725622059.869769 EV_SYN SYN_REPORT 0x00000000
/dev/input/event4  1725622059.919605 EV_MSC MSC_SCAN 0x00000009
/dev/input/event4  1725622059.919605 EV_KEY KEY_8 0x00000001
^ press 8 to switch to the terminal window

This only affects Xwayland, native Wayland clients behave correctly.

ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: xwayland 2:24.1.2-1
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.30.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: GNOME
Date: Fri Sep  6 13:26:18 2024
InstallationDate: Installed on 2022-11-26 (650 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20221126)
SourcePackage: xwayland
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xwayland (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oracular wayland-session

** Description changed:

  I switch into Mattermost with Windows+3 key combination, this causes an
  endless stream of 3 to be written into the mattermost field until I
- press another key.
+ press another key (similarly for any other number key, I did not try
+ non-numbers)
  
  If we look at the keyboard input device with
  https://github.com/DIGImend/evdev-dump we can see that the key is not
  stuck, all the input events are correct:
  
  /dev/input/event4  1725622057.447632 EV_MSC MSC_SCAN 0x000000DB
  /dev/input/event4  1725622057.447632 EV_KEY KEY_LEFTMETA 0x00000002
  ^ press windows key
  /dev/input/event4  1725622057.447632 EV_SYN SYN_REPORT 0x00000000
  /dev/input/event4  1725622057.477343 EV_MSC MSC_SCAN 0x00000004
  /dev/input/event4  1725622057.477343 EV_KEY KEY_3 0x00000001
  ^ press key 3
  /dev/input/event4  1725622057.477343 EV_SYN SYN_REPORT 0x00000000
  /dev/input/event4  1725622057.627896 EV_MSC MSC_SCAN 0x00000004
  /dev/input/event4  1725622057.627896 EV_KEY KEY_3 0x00000000
  ^ release key 3
  /dev/input/event4  1725622057.627896 EV_SYN SYN_REPORT 0x00000000
  /dev/input/event4  1725622057.997495 EV_MSC MSC_SCAN 0x000000DB
  /dev/input/event4  1725622057.997495 EV_KEY KEY_LEFTMETA 0x00000000
  ^ release windows key (now it starts endlessly dumping 3 into mattermost)
  
  /dev/input/event4  1725622057.997495 EV_SYN SYN_REPORT 0x00000000
  /dev/input/event4  1725622059.869769 EV_MSC MSC_SCAN 0x000000DB
  /dev/input/event4  1725622059.869769 EV_KEY KEY_LEFTMETA 0x00000001
  ^ press windows key again
  /dev/input/event4  1725622059.869769 EV_SYN SYN_REPORT 0x00000000
  /dev/input/event4  1725622059.919605 EV_MSC MSC_SCAN 0x00000009
  /dev/input/event4  1725622059.919605 EV_KEY KEY_8 0x00000001
  ^ press 8 to switch to the terminal window
  
- 
  This only affects Xwayland, native Wayland clients behave correctly.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.10
  Package: xwayland 2:24.1.2-1
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Uname: Linux 6.8.0-31-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.30.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: GNOME
  Date: Fri Sep  6 13:26:18 2024
  InstallationDate: Installed on 2022-11-26 (650 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20221126)
  SourcePackage: xwayland
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  xwayland repeats keypresses, ignores modifier

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


_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to