Bug 514692

Summary: cursor jumps around when starting virtual screenshare
Product: [Plasma] kwin Reporter: Harald Sitter <sitter>
Component: screencastingAssignee: KWin default assignee <kwin-bugs-null>
Status: ASSIGNED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Harald Sitter 2026-01-16 13:51:17 UTC
SUMMARY
When starting a virtual screenshare the cursor jumps noticeably to the left. It returns to its original coordinates when stopping the share. Sometimes it also doesn't return and just keeps traveling leftwards, if the screenshare is programmatically restarted, obviously a user would move produce counter-movement.

STEPS TO REPRODUCE
1. install ashpd
2. go to screencast -> start session
3. hover virtual screen share button in xdp-kde
4. note location of cursor on screen
5. click button

OBSERVED RESULT
the virtual output takes over and the cursor jumps to the left

EXPECTED RESULT
cursor stays where it is

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2026-01-15
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: AMD Radeon RX 7800 XT

ADDITIONAL INFORMATION
I've automated the entire procedure to track another bug. It's super noticeable that way ^^
Comment 1 Bug Janitor Service 2026-01-16 21:40:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8670