OpenTabletDriver / OpenTabletDriver

Open source, cross-platform, user-mode tablet driver
https://opentabletdriver.net/
GNU Lesser General Public License v3.0
2.65k stars 331 forks source link

Disconnecting a tablet device mid-drag causes the drag event to get stuck. #2957

Open Kodehawa opened 11 months ago

Kodehawa commented 11 months ago

Steps to Reproduce

Refer to: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1576

This was confirmed to be behavior caused by OTD itself.

Expected Behavior

Drag gets released and the windows can be interacted with again.

Observed Behavior

Compositor-dependent. On KWin you can't interact with only XWayland windows, on GNOME you have a midly-frozen desktop, on wlroots you're forced to ttyout and either kill otd daemon or reboot.

On X11 it seems to make the cursor unable to interact with any windows.

Killing the OTD daemon lets you interact with whatever was left frozen.

Tablet Device

Wacom CTL-480

Diagnostic Information

otd-diag.txt

Acknowledgements

gonX commented 11 months ago

Can confirm this happens on both master (35601541fb) and 0.6.3.0. The virtual device remains active with the state last set by the device.

/e: worth noting that replugging the tablet and clicking the respective buttons (e.g. drag) will unstick the key