Bug 479709 - Capturing a rectangular region while using a drawing tablet set to "Follow the active screen" does not respect the active screen
Summary: Capturing a rectangular region while using a drawing tablet set to "Follow th...
Status: CONFIRMED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.01.90
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-12 19:30 UTC by Kath
Modified: 2024-01-13 00:11 UTC (History)
2 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 Kath 2024-01-12 19:30:14 UTC
SUMMARY
If the "Capture rectangular region" keyboard shortcut is used, while using a drawing tablet configured with "Target Display: Follow the active screen", it may sometimes move the tablet's cursor to another screen. This makes it impossible to use the tablet pen to select the area to screenshot on the active screen, although alt+tabbing seems to allow moving the focus between screens once the issue occurs.

The screen the cursor is moved to seems to be consistent, and is not the "Primary" screen in my case. 

STEPS TO REPRODUCE
1. Connect a Drawing tablet, configured with "Target Display: Follow the active screen"
2. Focus a window on a particular screen with the tablet pen to make it the active screen
3. Press keyboard shortcut to "Capture rectangular region"

If the issue cannot be reproduced, try again with the cursor initially focused on a different screen.

OBSERVED RESULT
The cursor controlled by the tablet pen is moved to a different screen

EXPECTED RESULT
The cursor remains on the active screen to allow selecting a rectangular region on the previously focused screen

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.91.90
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Kernel Version: 6.2.0-39-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: llvmpipe
Comment 1 fanzhuyifan 2024-01-12 21:08:58 UTC
Can reproduce
Comment 2 fanzhuyifan 2024-01-12 21:15:23 UTC
This happens regardless of the setting of active screen follows mouse.