Bug 484263 - Cursor shape changing inconsistently in GTK applications through XWayland
Summary: Cursor shape changing inconsistently in GTK applications through XWayland
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.0.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-22 17:40 UTC by Alessandro Astone
Modified: 2024-09-30 16:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:


Attachments
Cursor bug in gtk4-demo-application (2.31 MB, video/mp4)
2024-03-22 17:40 UTC, Alessandro Astone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Astone 2024-03-22 17:40:31 UTC
Created attachment 167620 [details]
Cursor bug in gtk4-demo-application

SUMMARY
When running a GTK application in XWayland, through GDK_BACKEND=x11, the cursor doesn't always correctly switch between different shapes when hovering different widgets


STEPS TO REPRODUCE
1. GDK_BACKEND=x11 gtk4-demo-application
2. Hover the textbox, then hover the toolbar, repeat.

OBSERVED RESULT
Sometimes the cursor shape is a pointer while hovering the textbox, or a I-beam while hovering the toolbar.

EXPECTED RESULT
The cursor always switches to I-beam when entering the textbox, and switches back to pointer when leaving the textbox.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 40 KDE
(available in About System)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2024-09-30 11:39:35 UTC
I cannot reproduce the issue
Comment 2 Alessandro Astone 2024-09-30 16:18:25 UTC
I can still reproduce in 6.1.0, but not in 6.1.90; let's call it fixed!