Bug 448821

Summary: Hardware mouse cursor not updating for xwayland
Product: [Plasma] kwin Reporter: winblocker
Component: platform-drmAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: florian, kde-bugs, maria, nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.23.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=448796
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description winblocker 2022-01-20 12:54:56 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. In a wayland session start any application that uses "hardware mouse cursors" (used World of Warcraft and Final Fantasy 14 to verify)
2. Move the mouse cursor over any object that would change the cursors icon

OBSERVED RESULT
The cursor does not change to the supposed icon

EXPECTED RESULT
The cursor should reflect the object it is moused over

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.16.1-arch1-1 / 5.23.90
(available in About System)
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Using the software cursor in both tested games prevents this issue.
Comment 1 Vlad Zahorodnii 2022-01-20 12:59:44 UTC
Can you reproduce it by playing a fullscreen video in firefox?
Comment 2 winblocker 2022-01-20 13:03:12 UTC
(In reply to Vlad Zahorodnii from comment #1)
> Can you reproduce it by playing a fullscreen video in firefox?

Only tested full wayland firefox and not able to reproduce.
Comment 3 Vlad Zahorodnii 2022-01-20 13:38:56 UTC
Can this bug be reproduced with some free apps or games?
Comment 4 winblocker 2022-01-20 14:24:45 UTC
Just tested the game 0ad (from the official repositories). It has the same behavior.
Comment 5 Maria Keating 2022-01-20 19:34:18 UTC
(In reply to Vlad Zahorodnii from comment #3)
> Can this bug be reproduced with some free apps or games?

Bug can be found in Discord. The cursor seems to update during alt-tab but not after.
Comment 6 florian 2022-01-23 16:33:36 UTC
Any application in xwayland mode is affected for me including Firefox. When hovering over a text input field, the cursor icon does not change. In Wayland mode (MOZ_ENABLE_WAYLAND=1) the cursor icon changes as expected.
Comment 7 Ian Kidd 2022-01-23 18:12:18 UTC
*** Bug 448993 has been marked as a duplicate of this bug. ***
Comment 8 Ian Kidd 2022-01-23 18:19:27 UTC
Duplicate of https://bugs.kde.org/show_bug.cgi?id=447950?

That has been marked as fixed, not sure if that has made it's way into Arch KDE-Testing branch, if so, still bugged.
Comment 9 florian 2022-01-23 22:33:18 UTC
https://bugs.kde.org/show_bug.cgi?id=447950 was fixed in master one day after 5.23.90 got released so it's still affected. With the current master build, the issue is solved. Closing

*** This bug has been marked as a duplicate of bug 442839 ***
Comment 10 florian 2022-01-23 22:34:45 UTC
Edit: Wrong duplicate id

*** This bug has been marked as a duplicate of bug 447950 ***