Bug 448841

Summary: Mouse cursor disappears when dragging an item during screencasting in Wayland
Product: [Plasma] kwin Reporter: Behzad A <behzad.a_ir>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate, plasma-bugs
Priority: NOR Keywords: wayland
Version: 5.23.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=448840
Latest Commit: Version Fixed In:

Description Behzad A 2022-01-20 17:55:49 UTC
As you can see(Or not see!) in the video, When Dragging an item in native Wayland client windows during screencasting, the mouse cursor and dragged element are not recorded.
https://youtu.be/2v9TdzJoDjk

System Info
System:    Host: localhost.localdomain Kernel: 5.16.0-1-default x86_64 bits: 64 compiler: gcc v: 11.2.1
           Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 wm: kwin_wayland dm: SDDM Distro: openSUSE Tumbleweed 20220111
CPU:       Info: Dual Core model: Intel Core2 Duo T6670 bits: 64 type: MCP arch: Penryn rev: A cache: L2: 2 MiB
           flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 8771
           Speed: 1280 MHz min/max: 1200/2201 MHz boost: enabled Core speeds (MHz): 1: 1280 2: 1930
Graphics:  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Sony driver: i915 v: kernel bus-ID: 00:02.0
           chip-ID: 8086:2a42
           Device-2: Ricoh Sony Vaio Integrated Webcam type: USB driver: uvcvideo bus-ID: 1-2:2 chip-ID: 05ca:18b3
           Display: wayland server: X.org 1.21.1.3 compositor: kwin_wayland driver: loaded: modesetting unloaded: fbdev,vesa
           alternate: intel resolution: <missing: xdpyinfo>
           OpenGL: renderer: Mesa Mobile Intel GM45 Express (CTG) v: 2.1 Mesa 22.0.0-devel-git-8d2be391 direct render: Yes
Comment 1 Patrick Silva 2022-01-20 22:24:19 UTC
Noticed this bug yesterday when recording my screen with obs studio on Wayland session of neon unstable.
Comment 2 Nate Graham 2022-01-20 23:30:32 UTC
Cannot reproduce the issue with current git master; the cursor shows up for me.

Regardless, this is either a KWin issue or an OBS issue; moving to KWin to start with.
Comment 3 Vlad Zahorodnii 2022-01-24 14:54:31 UTC
Cannot reproduce too, works fine in git master.
Comment 4 Behzad A 2022-02-06 13:09:47 UTC
Currently, I'm using git master (openSUSE KDE:Unstable(Krypton) repo) and cannot reproduce the issue anymore
Comment 5 Vlad Zahorodnii 2022-02-07 10:14:20 UTC
(In reply to Behzad A from comment #4)
> Currently, I'm using git master (openSUSE KDE:Unstable(Krypton) repo) and
> cannot reproduce the issue anymore

Right, there were some cursor fixes in screencast plugin, they might've fixed this bug too