This issue occurs when a seat has one non-discrete and one discrete scrolling device (i.e. a laptop with trackpad and a clicking-wheel mouse connected to it). Under some condition (see repro below), clicks from the scrolling wheel are being skipped by xwayland, when scrolling direction is changed (i.e. ↑↑↓↑, where last two clicks are ignored by the application).
- Run any wayland compositor with xwayland support on a laptop with mouse connected
- Produce some scrolling via touchpad
- Now, scrolling with mouse will be skipped (see
This issue is not reproducible on Xorg WM's, i.e. i3wm, so I might guess the bug is somewhere here: https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/hw/xwayland/xwayland-input.c#L682-723
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information