Bug 490074 - stylus emulates mouse on wrong screen (wayland)
Summary: stylus emulates mouse on wrong screen (wayland)
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_tablet (other bugs)
Version First Reported In: 6.1.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-11 06:05 UTC by Phil Hord
Modified: 2024-08-30 03:48 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 Phil Hord 2024-07-11 06:05:26 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
I have  a Lenovo X1 Carbon Yoga Gen 5.  It has a touchscreen and a stylus.  I have an external monitor attached as a separate screen.  When I touch the laptop screen with my fingers, the correct location is selected on the laptop itself. When I touch the screen with the stylus (or even just hover with the stylus) the mouse cursor moves around on whichever screen the mouse cursor happens to be on.  

STEPS TO REPRODUCE
1. Move mouse cursor to external screen
2. Interact with the laptop screen using the stylus

OBSERVED RESULT
Mouse cursor moves to relative positions on external monitor instead of laptop display. Stylus clicks are sent to the windows on the external display as if I was clicking there instead of on the laptop display.

EXPECTED RESULT
Stylus events would move the cursor to the laptop display.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-41-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10610U CPU @ 1.80GHz
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 20UCS4TR00
System Version: ThinkPad X1 Yoga Gen 5

ADDITIONAL INFORMATION
Comment 1 Raghavendra kamath 2024-07-31 09:09:51 UTC
This config tool is only available on X11 and is not supported under wayland. The tablet config is handled by KCM_tablet component of the system settings. Please file a report towards that. For some reason I can't move this report to that component.
Comment 2 TraceyC 2024-07-31 16:49:25 UTC
This seems like it might be related to https://bugs.kde.org/show_bug.cgi?id=480658 where the stylus input is happening on the wrong screen
Comment 3 Joshua Goins 2024-07-31 17:41:46 UTC
> I have  a Lenovo X1 Carbon Yoga Gen 5.  It has a touchscreen and a stylus. 
> I have an external monitor attached as a separate screen.  When I touch the
> laptop screen with my fingers, the correct location is selected on the
> laptop itself. 

OK, that all sounds correct and great that it works.

> When I touch the screen with the stylus (or even just hover
> with the stylus) the mouse cursor moves around on whichever screen the mouse
> cursor happens to be on.  

This is intentional, check the KCM. By default, the active screen for the drawing tablet follows the mouse cursor. But you can force it to always be on the internal screen, or the external screen if you prefer. Let me know if that works
Comment 4 Joshua Goins 2024-07-31 17:42:31 UTC
> This is intentional, check the KCM. By default, the active screen for the drawing tablet follows the mouse cursor. But you can force it to always be on the internal screen, or the external screen if you prefer. Let me know if that works

Or to be more specific, it's *intended* but I'm starting to question if this is even wanted in the first place. Clearly it's not expected for you, which is a point against the feature :-)
Comment 5 Bug Janitor Service 2024-08-15 03:47:08 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2024-08-30 03:48:05 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.