obs-studio
obs-studio copied to clipboard
No mouse cursor in Wayland window capture on KDE
Operating System Info
Other
Other OS
Arch Linux
OBS Studio Version
27.1.3
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/Fldnw8K5q3Jb7DnG
OBS Studio Crash Log URL
No response
Expected Behavior
When I set up a window capture with the mouse cursor enabled it captures the mouse cursor as well
Current Behavior
When I set up a window capture with the mouse cursor enabled the mouse cursor doesn't get captured. Mouse cursor capture in a screen capture session works just fine
Steps to Reproduce
- start obs (doesn't matter if it's the flatpak version or tytan's from the AUR) in a plasma wayland session
- add a window capture with the mouse cursor capture checkbox checked
- no mouse cursor on the canvas nor in the stream/recording output ...
Anything else we should know?
Archlinux Wayland Plasma 5.23.1, xdg desktop portal installed&updated, as is xdg desktop portal kde&pipewire
@GeorgesStavracas asked me to tag them
Can confirm with OBS 27.1.3 from flathub on neon unstable distribution.
Same behavior here on Arch with Plasma 5.23.5 and OBS 27.1.3
This does not look like our bug, the same code is used for monitor and window capture and it works for monitor capture. Adding some debug information on fedora 35 and it seems that kde simply never passes valid cursor information to window captures.
I recommend you file a bug upstream to kde.
Created KDE bug report: https://bugs.kde.org/show_bug.cgi?id=452960
@kkartaltepe Could you point me to some resources that contain an example of valid cursor data?
KDE appears to have fixed the bug on their end for Plasma 5.26 with this MR.
Correct, let's close this