Bug 456776

Summary: Mouse becomes invisible in the VLC main window when opening a modal dialog in VLC
Product: [Plasma] kwin Reporter: postix <postix>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bugseforuns, kde, postix
Priority: NOR    
Version First Reported In: 5.25.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description postix 2022-07-15 20:53:31 UTC
Created attachment 150655 [details]
Screenshot

STEPS TO REPRODUCE
1.  Open VLC
2.  Open a video and pause it
3.  Select: Media --> Open Media or --> Open Directory
4. Hover the mouse over the VLC main window in the background, not over the modal dialog

OBSERVED RESULT
The cursor is gone

EXPECTED RESULT
The cursor is still visible


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220714
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.9-2-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 Patrick Silva 2022-07-15 23:21:09 UTC
I do not think it's a bug with KDE software. I can reproduce on Arch Linux running Wayland session of Gnome.
Comment 2 postix 2022-07-16 09:27:44 UTC
(In reply to Patrick Silva from comment #1)
> I do not think it's a bug with KDE software. I can reproduce on Arch Linux
> running Wayland session of Gnome.

It'd be interesting to know which part of the software stack is responsible to render the cursor (in an XWayland app)?
Comment 3 David Edmundson 2022-07-16 09:45:51 UTC
>It'd be interesting to know which part of the software stack is responsible to render the cursor (in an XWayland app)?

The client tells X what cursor it wants and if it should hide
XWayland then provides a cursor to the wayland server 
the compositor renders the cusor provided by the client (which in this case is xwayland)

First step is to confirm if it truly is a kwin problem
Comment 4 postix 2022-07-16 10:45:59 UTC
Thanks David and Patrick. Also happens under kWin X11 5.25.3 and under Sway 1.7.4; will report it upstream.