Bug 444945

Summary: [Wayland] custom application cursor broken on screen recording
Product: [Plasma] kwin Reporter: Alexander <alexander.reimelt>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, xaver.hugl
Priority: NOR    
Version First Reported In: 5.24.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: bug with QT app
bug with GTK app

Description Alexander 2021-11-04 13:09:08 UTC
Created attachment 143199 [details]
bug with QT app

On Wayland GTK applications (Xournal++) have an invisible cursor and QT applications (Krita) show two cursors at once. This is only in the screen capture and looks correctly on screen.

STEPS TO REPRODUCE
1. Start screen recording (with OBS)
2. open an application that overrides the cursor
3. play with the cursor
4. stop capture and look at video

OBSERVED RESULT
cursors mismatch between capture and reality

EXPECTED RESULT
cursors match between capture and reality

Operating System: Arch Linux
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.16-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Comment 1 Alexander 2021-11-04 13:18:52 UTC
Created attachment 143201 [details]
bug with GTK app

Small cursor should be visible at the line end but didn't get captured.
Comment 2 Alexander 2022-03-02 14:04:57 UTC
can still reproduce this on:
Operating System: openSUSE Tumbleweed 20220228
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.11-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Comment 3 Zamundaaa 2024-06-07 01:46:14 UTC
Can't reproduce in Plasma 6, so I assume this is fixed