Wayland: Mouse cursor becomes invisible when hovering over window area of Flatpak KDE apps under GNOME session when using Wacom stylus
Affected version
- OS: Manjaro test branch (rolling upgrade)
- GNOME/Mutter: 44.2-1
- Repro on XOrg: No
- Repro on Wayland: Yes
- Kernel version: 6.3.11-1-MANJARO
Bug summary
When launching a KDE application in GNOME Wayland session, moving mouse via Wacom Stylus causes mouse cursor hidden when hovering stylus in window area of KDE application.
- This happens only on GNOME Wayland session (See details below, GNOME Xorg and Sway Wayland session do not have this issue). GNOME applications do not have this issue.
- This issue impacts Flatpak version only. Local installation (via pacman -S kdenlive command) is incorrect but different behavior.
- The behavior of local installation is similar with reported #2882 (closed), that the cursor is show, but clicking on titlebar stuck, then true mouse click do not work at all.
Impact: Due to this issue, KDE applications in GNOME Wayland session becomes very difficult to use.
Steps to reproduce
- Login GNOME 44.2 Wayland session.
- Plug a Walcom stylus device to computer. In my case, I use a Wacom One stylus model CTL-472.
- Open KDE application. I use OBS Studio and Kdenlive installed from Flatpak. Both have issues.
- Hover mouse cursor by moving pen on stylus tablet.
What happened
When mouse hovering enters window area of OBS Studio and Kdenlive, mouse cursor becomes invisible. Clicking titlebar has no effect (aka, application window can't be moved with stylus). Note that left/right single click still correct clicks UI element in window area.
I also verified GNOME Xorg session, and Sway Wayland session as comparison. GNOME Xorg works completely as expected, that mouse cursor is shown and window is moveable. Sway does not allow moving window with mouse, but I can verified mouse cursor can show when hovering.
What did you expect to happen
When moving cursor with stylus in application window, mouse cursor should always be visible. Application window should be moved when clicking on titlebar.