Bug 481931 - GTK CSD apps running in XWayland display X cursor in the CSD shadow, this shadow also cannot be clicked through (e.g. to bring forward a window underneath)
Summary: GTK CSD apps running in XWayland display X cursor in the CSD shadow, this sha...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: 6.0.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://gitlab.freedesktop.org/xorg/x...
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-28 14:05 UTC by Unused Account
Modified: 2024-05-13 14:52 UTC (History)
2 users (show)

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


Attachments
Thunderbird window showing X cursor over the shadow, in the bottom-right (68.01 KB, image/png)
2024-02-28 14:43 UTC, Unused Account
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unused Account 2024-02-28 14:05:52 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
***

When using GTK client-side decorated apps, e.g. Thunderbird, the cursor changes to the generic X cursor when hovering over the CSD shadow. Additionally, the shadow cannot be clicked through.

STEPS TO REPRODUCE
1. Open a GTK CSD app that runs under XWayland, e.g. Thunderbird installed from Fedora's repos
2. Mouse over the shadow, observe X cursor instead of normal pointer
3. Click on the shadow with another window underneath - the window below is not raised

OBSERVED RESULT
X cursor shown, shadow cannot be clicked through

EXPECTED RESULT
Normal cursor shown, shadow can be clicked through

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-0.rc5.41.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS MASTER
System Version: -CF

ADDITIONAL INFORMATION
Comment 1 Unused Account 2024-02-28 14:43:02 UTC
Created attachment 166157 [details]
Thunderbird window showing X cursor over the shadow, in the bottom-right

Adding screenshot
Comment 2 Nate Graham 2024-03-01 20:09:59 UTC
Cannot reproduce with Thunderbird in CSD mode on Plasma 6 built from source on top of Fedora 39--or any other CSD app I try, for that matter (Gedit, Blanket).
Comment 3 Unused Account 2024-03-02 04:57:23 UTC
Are they running as native Wayland clients or in XWayland like the Thunderbird RPM package?
Comment 4 Nate Graham 2024-03-05 23:01:24 UTC
Yes, I verified that Thunderbird was running in XWayland mode.
Comment 5 Vlad Zahorodnii 2024-05-13 14:52:48 UTC
fixed in xwayland