Bug 456776 - Mouse becomes invisible in the VLC main window when opening a modal dialog in VLC
Summary: Mouse becomes invisible in the VLC main window when opening a modal dialog in...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.25.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-15 20:53 UTC by postix
Modified: 2022-07-16 10:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (154.90 KB, image/png)
2022-07-15 20:53 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
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.