Bug 505989 - When Using Multiple Tablets, A Tablet in Mouse Mode Will Not Render a Cursor
Summary: When Using Multiple Tablets, A Tablet in Mouse Mode Will Not Render a Cursor
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 6.4.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Joshua Goins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-22 17:49 UTC by capitalex
Modified: 2025-06-23 11:54 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description capitalex 2025-06-22 17:49:35 UTC
SUMMARY
I have two different types of tablets: an XP-Pen Star G640 and an Artist 12 Pro. I have my XP-Pen Star G640 configured to use Mouse Mode while my Artist 12 Pro is configured to draw on it'd display. However, when I switch from my Artist 12 Pro to my XP-Pen Star G640, my cursor will disappear. The cursor is still active and can still interact with my desktop, but it will not render.

STEPS TO REPRODUCE
1. Have two different tablets plugged into your device
2. Set one tablet to use mouse mode
3. Switch between the tablets

OBSERVED RESULT
Cursor is not displayed

EXPECTED RESULT
Cursor is shown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.91
Comment 1 Bug Janitor Service 2025-06-23 07:08:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7799
Comment 2 Vlad Zahorodnii 2025-06-23 11:17:05 UTC
Git commit 9c0a76ee7c300456724225cf783e27593986f9fd by Vlad Zahorodnii.
Committed on 23/06/2025 at 10:56.
Pushed by vladz into branch 'master'.

Fix tablet cursor getting stuck in hidden state in relative mode

If the cursor is hidden by a proximity out event from a tablet in the
absolute mode, we want the cursor to be shown when a tablet in relative
mode generates a proximity in event.

M  +4    -6    src/hide_cursor_spy.cpp

https://invent.kde.org/plasma/kwin/-/commit/9c0a76ee7c300456724225cf783e27593986f9fd
Comment 3 Vlad Zahorodnii 2025-06-23 11:54:05 UTC
Git commit a9d2bca8e440b9bfcd4d592188bf349050f65d86 by Vlad Zahorodnii.
Committed on 23/06/2025 at 11:24.
Pushed by vladz into branch 'Plasma/6.4'.

Fix tablet cursor getting stuck in hidden state in relative mode

If the cursor is hidden by a proximity out event from a tablet in the
absolute mode, we want the cursor to be shown when a tablet in relative
mode generates a proximity in event.


(cherry picked from commit 9c0a76ee7c300456724225cf783e27593986f9fd)

Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>

M  +4    -6    src/hide_cursor_spy.cpp

https://invent.kde.org/plasma/kwin/-/commit/a9d2bca8e440b9bfcd4d592188bf349050f65d86