Bug 503661

Summary: Screen Capture (PipeWire) in OBS draws a black box around the mouse
Product: [Plasma] xdg-desktop-portal-kde Reporter: Arimil <renari>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: aleixpol, john.kizer, kde, nate, xaver.hugl
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://github.com/obsproject/obs-studio/issues/12091
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: example of black box around mouse
sample of spectacle recording obs

Description Arimil 2025-05-02 13:03:17 UTC
Created attachment 180877 [details]
example of black box around mouse

SUMMARY
Screen capture draws black boxes around mouse.

STEPS TO REPRODUCE
1. Open OBS and add a screen capture (pipewire) source
2. Move mouse around on captured window

OBSERVED RESULT
Mouse will have a black box around the mouse

EXPECTED RESULT
Mouse is shown without a boundary box.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.14.4-2-cachyos
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Cursor Theme: Breeze

I originally contacted OBS about this but they said this is something the xdg-desktop-portal handles. I've confirmed this happens with both window and screen capture. I've also tried the OBS flatpak since I'm using obs-studio-git from the AUR and it was also reproducible there.
Comment 1 John Kizer 2025-05-07 19:16:13 UTC
Hi - I can't reproduce on my Fedora KDE 42 device. Could you please let us know:

* What your graphics card and drivers (if applicable) are?
* Does this occur with the cursor over top of any application - including KDE applications, web browsers, etc.?
* Does this occur when using Spectacle's screencast feature?

Thanks!
Comment 2 Arimil 2025-05-07 19:24:45 UTC
(In reply to John Kizer from comment #1)


* What your graphics card and drivers (if applicable) are?
linux-cachyos-nvidia-open 6.14.5-3
Driver Version: 570.144

* Does this occur with the cursor over top of any application - including KDE applications, web browsers, etc.?
Yes

* Does this occur when using Spectacle's screencast feature?
No
Comment 3 Arimil 2025-05-07 19:31:45 UTC
Created attachment 181038 [details]
sample of spectacle recording obs

Here's a video recorded using spectacle of the OBS window showing the issue while recording dolphin.
Comment 4 Arimil 2025-05-07 19:35:10 UTC
Oh also GPU is:

GPU 1: NVIDIA GeForce RTX 4070 Ti Super (dGPU)
GPU 2: AMD Radeon Graphics (iGPU)
Comment 5 John Kizer 2025-05-07 23:05:08 UTC
Thanks - this looks like it's occurring on other desktop environments as well, and is being investigated as either an OBS Studio or PipeWire issue: https://github.com/obsproject/obs-studio/issues/12091