Bug 505663 - Tablet pen and mouse do not sync cursor positions when using Wayland
Summary: Tablet pen and mouse do not sync cursor positions when using Wayland
Status: ASSIGNED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.3.5
Platform: NixOS Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-16 15:10 UTC by cromachina
Modified: 2025-10-02 21:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cromachina 2025-06-16 15:10:12 UTC
SUMMARY
When using the tablet pen, it takes over the cursor position, but when using the mouse again, the cursor position teleports back to where the mouse cursor was last at. It does not do this with X11. This is kind of annoying and it would be nice to have an option to have cursor positions be synced like in X11.

STEPS TO REPRODUCE
1. Move your mouse around, like on a different monitor.
2. Use your tablet pen to move the cursor (in absolute position mode, or "artist mode").
3. Move the mouse around again.

OBSERVED RESULT
The cursor teleports to the last mouse position.

EXPECTED RESULT
The cursor continues moving from where the tablet left the cursor last.

SOFTWARE/OS VERSIONS
Operating System: NixOS 25.11
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.7-zen1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX

ADDITIONAL INFORMATION
I'm using OpenTabletDriver v0.6.4.0 with a Wacom Cintiq 22HD.

Related issue in OpenTabletDriver https://github.com/OpenTabletDriver/OpenTabletDriver/issues/2934
Quote from gonX:
> FWIW, Sway does not seem to exhibit any of these issues in Artist Mode, but I do also understand that Sway isn't exactly a drop-in replacement for neither Gnome nor KDE.
Which possibly indicates the issue is with the input handling of kwayland.
Comment 1 Vlad Zahorodnii 2025-06-17 11:41:36 UTC
This is intentional. Pointer and tablet input are independent.
Comment 2 cromachina 2025-06-17 12:25:04 UTC
(In reply to Vlad Zahorodnii from comment #1)
> This is intentional. Pointer and tablet input are independent.

Okay, then this is a feature request :)

> This is kind of annoying and it would be nice to have an option to have cursor positions be synced like in X11.
Comment 3 TraceyC 2025-06-17 20:34:30 UTC
Changing to a feature request to sync pointer and touch input
Comment 4 SkyWalteron 2025-10-02 02:56:20 UTC
(In reply to Vlad Zahorodnii from comment #1)
> This is intentional. Pointer and tablet input are independent.

That is terrible. Wayland not for artist with use graphic stylus pen user?
this intentional for really security and usability?
Krita or gimp or many create tool no usability with use graphic stylus and mouse in wayland.

If I krita drawing, if I little touch mouse, cursor position warp, So dive in panic.
I can't draw with this non usability wayland. Why I using X11 answer is this.
Comment 5 Bug Janitor Service 2025-10-02 21:14:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8189
Comment 6 Bug Janitor Service 2025-10-02 21:15:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3233