Public bug reported:
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.
- 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
- 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)
** Affects: xwayland (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
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