** Description changed:

  Title: Pen events (motion, buttons) not delivered to X11 clients under
  Xwayland, Wacom Intuos BT M; native Wayland clients work
  
  Package: xwayland 2:24.1.10-1 (Ubuntu 26.04.1 LTS, GNOME on Wayland)
  
- Problem:
- Since a reboot, a Wacom tablet pen no longer sends motion or clicks to X11 
applications. It worked in Krita before that reboot, which came after a long 
uptime. The pen still moves the cursor and clicks normally on the GNOME desktop 
and in GNOME Settings. The mouse works normally in X11 clients.
+ Summary
+ Since a reboot after a long uptime, the pen of a Wacom Intuos BT M 
(056a:03c7) delivers no motion or button events to X11 clients under Xwayland. 
It worked in Krita before that reboot. The pen works in native Wayland clients 
and on the GNOME desktop. The mouse works normally in X11 clients.
  
- Reproduce:
+ Steps
+ 1. Log in to the GNOME Wayland session with the tablet connected.
+ 2. Run xev, move the pen over its window, tap the tip.
  
- Log in to the GNOME Wayland session with the tablet (056a:03c7) connected.
- Run xev, move the pen over the window, tap the tip.
+ Result
+ - xev: only focus change events when the pen enters/leaves the window. No 
MotionNotify, no ButtonPress. The mouse generates all events.
+ - With xev's window visible, "xinput test-xi2 --root" shows XI_Motion events 
from device 10 (xwayland-tablet stylus), also relayed to the master pointer (id 
2). So Xwayland receives pen motion at the XI2 level, but xev gets none. In 
these events "buttons:" is empty and "child" is 0x0. [I did not check whether a 
tip press produces XI_ButtonPress: fill in after testing.]
+ - Krita 5 (AppImage and Flatpak, X11 only): no pen input, tablet tester stays 
empty.
  
- Expected: MotionNotify and ButtonPress from the pen.
- Actual: Only focus change events when the pen enters or leaves the window. No 
MotionNotify, no ButtonPress. xinput test <stylus id> also shows nothing. The 
mouse produces all events.
+ Other observations
+ - xinput list shows xwayland-tablet stylus, eraser, cursor and tablet-pad.
+ - libinput list-devices lists the pen and pad; libinput debug-events shows 
TABLET_TOOL_TIP / TABLET_TOOL_AXIS events.
+ - Xournal++ (native Wayland) works. GDK_BACKEND=x11 xournalpp reproduces the 
bug.
+ - Same result with: a new user account; kernels 7.0.0-42 and 7.0.0-43; tablet 
unplugged/replugged.
+ - No change after downgrading (each followed by a reboot):
+   - libmutter-18-0, mutter-common, mutter-common-bin, gir1.2-mutter-18: 
50.1-0ubuntu2.5 -> 50.1-0ubuntu2
+   - gnome-shell, gnome-shell-common: 50.1-0ubuntu1.5 -> 50.1-0ubuntu1
+   - libinput10, libinput-bin: 1.31.1-1ubuntu1.2 -> 1.31.1-1
+ - journalctl --user -b has no tablet/Wacom messages.
  
- Observations:
+ Environment
+ Ubuntu 26.04.1, xwayland 2:24.1.10-1 (never upgraded), libwacom9 2.18.0-1, 
NVIDIA 580.178.04 (open modules).
+ Upgraded since the previous reboot: gnome-shell 1.3 -> 1.5 (Nov 5), linux 
7.0.0-42 -> 43 + NVIDIA modules (Nov 10), mutter 2.4 -> 2.5, systemd/udev 259.5 
-> 259.9 (Nov 11). I don't know which, if any, is related.
  
- xinput list shows xwayland-tablet stylus, eraser, cursor and tablet-pad.
- libinput list-devices lists the pen and pad. libinput debug-events shows 
TABLET_TOOL_TIP and TABLET_TOOL_AXIS events for event10.
- Xournal++ (native Wayland) works with the pen. GDK_BACKEND=x11 xournalpp 
reproduces the bug.
- Krita 5 (AppImage and Flatpak, both X11 only) gets no pen input, and its 
tablet tester stays empty.
- Same result with a new user account.
- Same result with kernels 7.0.0-42 and 7.0.0-43.
- Same result after unplugging and replugging the tablet.
- No change after downgrading, each followed by a reboot:
- libmutter-18-0, mutter-common, mutter-common-bin and gir1.2-mutter-18 from 
50.1-0ubuntu2.5 to 50.1-0ubuntu2
- gnome-shell and gnome-shell-common from 50.1-0ubuntu1.5 to 50.1-0ubuntu1
- libinput10 and libinput-bin from 1.31.1-1ubuntu1.2 to 1.31.1-1
- journalctl --user -b has no tablet or Wacom related messages.
+ Possibly related: LP #2161690 (touch events not converted to button
+ events). Different device (touchscreen, fresh install), but there too
+ XI2 sees the events and xev does not.
  
  Environment:
  
  xwayland 2:24.1.10-1 (no upgrade in apt history)
  libwacom9 2.18.0-1
  NVIDIA 580.178.04, open kernel modules
  Packages upgraded in apt history since the previous reboot: gnome-shell 
50.1-0ubuntu1.3 → 1.5 (Nov 5), linux 7.0.0-42 → 43 and matching NVIDIA modules 
(Nov 10), mutter 50.1-0ubuntu2.4 → 2.5 and systemd/udev 259.5 → 259.9 (Nov 11). 
I don’t know which of these, if any, is related.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: xwayland 2:24.1.10-1
  ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
  Uname: Linux 7.0.0-43-generic x86_64
  ApportVersion: 2.34.1-0ubuntu0.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Nov 12 21:34:01 2026
  InstallationDate: Installed on 2024-07-23 (842 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: xwayland
  UpgradeStatus: Upgraded to resolute on 2026-10-10 (33 days ago)

** Description changed:

  Title: Pen events (motion, buttons) not delivered to X11 clients under
  Xwayland, Wacom Intuos BT M; native Wayland clients work
  
  Package: xwayland 2:24.1.10-1 (Ubuntu 26.04.1 LTS, GNOME on Wayland)
  
  Summary
  Since a reboot after a long uptime, the pen of a Wacom Intuos BT M 
(056a:03c7) delivers no motion or button events to X11 clients under Xwayland. 
It worked in Krita before that reboot. The pen works in native Wayland clients 
and on the GNOME desktop. The mouse works normally in X11 clients.
  
  Steps
  1. Log in to the GNOME Wayland session with the tablet connected.
  2. Run xev, move the pen over its window, tap the tip.
  
  Result
  - xev: only focus change events when the pen enters/leaves the window. No 
MotionNotify, no ButtonPress. The mouse generates all events.
- - With xev's window visible, "xinput test-xi2 --root" shows XI_Motion events 
from device 10 (xwayland-tablet stylus), also relayed to the master pointer (id 
2). So Xwayland receives pen motion at the XI2 level, but xev gets none. In 
these events "buttons:" is empty and "child" is 0x0. [I did not check whether a 
tip press produces XI_ButtonPress: fill in after testing.]
+ - With xev's window visible, "xinput test-xi2 --root" shows XI_Motion events 
from device 10 (xwayland-tablet stylus), also relayed to the master pointer (id 
2). So Xwayland receives pen motion at the XI2 level, but xev gets none. In 
these events "buttons:" is empty and "child" is 0x0. 
  - Krita 5 (AppImage and Flatpak, X11 only): no pen input, tablet tester stays 
empty.
  
  Other observations
  - xinput list shows xwayland-tablet stylus, eraser, cursor and tablet-pad.
  - libinput list-devices lists the pen and pad; libinput debug-events shows 
TABLET_TOOL_TIP / TABLET_TOOL_AXIS events.
  - Xournal++ (native Wayland) works. GDK_BACKEND=x11 xournalpp reproduces the 
bug.
  - Same result with: a new user account; kernels 7.0.0-42 and 7.0.0-43; tablet 
unplugged/replugged.
  - No change after downgrading (each followed by a reboot):
-   - libmutter-18-0, mutter-common, mutter-common-bin, gir1.2-mutter-18: 
50.1-0ubuntu2.5 -> 50.1-0ubuntu2
-   - gnome-shell, gnome-shell-common: 50.1-0ubuntu1.5 -> 50.1-0ubuntu1
-   - libinput10, libinput-bin: 1.31.1-1ubuntu1.2 -> 1.31.1-1
+   - libmutter-18-0, mutter-common, mutter-common-bin, gir1.2-mutter-18: 
50.1-0ubuntu2.5 -> 50.1-0ubuntu2
+   - gnome-shell, gnome-shell-common: 50.1-0ubuntu1.5 -> 50.1-0ubuntu1
+   - libinput10, libinput-bin: 1.31.1-1ubuntu1.2 -> 1.31.1-1
  - journalctl --user -b has no tablet/Wacom messages.
  
  Environment
  Ubuntu 26.04.1, xwayland 2:24.1.10-1 (never upgraded), libwacom9 2.18.0-1, 
NVIDIA 580.178.04 (open modules).
  Upgraded since the previous reboot: gnome-shell 1.3 -> 1.5 (Nov 5), linux 
7.0.0-42 -> 43 + NVIDIA modules (Nov 10), mutter 2.4 -> 2.5, systemd/udev 259.5 
-> 259.9 (Nov 11). I don't know which, if any, is related.
  
  Possibly related: LP #2161690 (touch events not converted to button
  events). Different device (touchscreen, fresh install), but there too
  XI2 sees the events and xev does not.
  
  Environment:
  
  xwayland 2:24.1.10-1 (no upgrade in apt history)
  libwacom9 2.18.0-1
  NVIDIA 580.178.04, open kernel modules
  Packages upgraded in apt history since the previous reboot: gnome-shell 
50.1-0ubuntu1.3 → 1.5 (Nov 5), linux 7.0.0-42 → 43 and matching NVIDIA modules 
(Nov 10), mutter 50.1-0ubuntu2.4 → 2.5 and systemd/udev 259.5 → 259.9 (Nov 11). 
I don’t know which of these, if any, is related.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: xwayland 2:24.1.10-1
  ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
  Uname: Linux 7.0.0-43-generic x86_64
  ApportVersion: 2.34.1-0ubuntu0.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Nov 12 21:34:01 2026
  InstallationDate: Installed on 2024-07-23 (842 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: xwayland
  UpgradeStatus: Upgraded to resolute on 2026-10-10 (33 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/2174335

Title:
  Pen events (motion, buttons) not delivered to X11 clients under
  Xwayland, Wacom Intuos BT M; native Wayland clients work

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


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

Reply via email to