Bug 497226 - Cursor defaults to "X" after pressing right click on Xwaylanddx
Summary: Cursor defaults to "X" after pressing right click on Xwaylanddx
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: xwayland (other bugs)
Version First Reported In: 6.2.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-09 08:25 UTC by Krystian
Modified: 2025-03-03 08:29 UTC (History)
1 user (show)

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


Attachments
A screen recording of xwayland app and "native" wayland app (805.74 KB, video/webm)
2024-12-09 08:25 UTC, Krystian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krystian 2024-12-09 08:25:23 UTC
Created attachment 176455 [details]
A screen recording of xwayland app and "native" wayland app

SUMMARY
While pressing right button on mouse in Xwayland apps, cursor defaults to "X" cursor (tested on VSCode, Chrome, Redis Insight, Lutris and HandBrake). Does not appear if app is running "natively" in wayland.

STEPS TO REPRODUCE
1. Open app and check if it's running via Xwayland.
2. Press right click to open any menu.
3. *Observe*

OBSERVED RESULT
Cursor fallbacks into "X" cursor while opening menus.

EXPECTED RESULT
Cursor is not an ugly "X" while right clicking to open menus.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.8-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 15.4 GB of RAM
Graphics Processor: AMD Radeon Graphics


ADDITIONAL INFORMATION
Rollbacking to 6.2.1 from 6.2.4 resolves this issue.
Comment 1 David Edmundson 2024-12-09 16:50:20 UTC
I can't reproduce:

Can you confirm that it happens straight after login and the output of:

xrdb -q
Comment 2 Krystian 2024-12-10 07:47:27 UTC
❯ xrdb -q
Xcursor.size:   24
Xcursor.theme:  macOS-BigSur
Xft.antialias:  1
Xft.dpi:        96
Xft.hinting:    1
Xft.hintstyle:  hintslight
Xft.rgba:       none

and yes, opening chrome after login and pressing right mouse button still causes this issues.
It's weird because i can reproduce it on both my systems. One laptop with AMD iGPU and workstation with nvidia prop drivers. Both same theme, same kernel, same packages.

I can attach konsave preset to load, I'm using custom theme if it's important. (I have tried roling back into breeze cursor, but no luck)
Comment 3 Krystian 2024-12-10 07:59:40 UTC
Note 2: I have created new account with defaults to prevent "theme contamination" and issue is still present.
Comment 4 Bug Janitor Service 2024-12-25 03:47:32 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-01-09 03:47:28 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 6 Krystian 2025-03-03 08:29:10 UTC
Fixed in followuing kwin updates.

 Upgrade  kwin-libs-0:6.3.2.1-1.fc41.x86_64                                External User   updates
  Upgrade  kwin-common-0:6.3.2.1-1.fc41.x86_64                              External User   updates
  Upgrade  kwin-wayland-0:6.3.2.1-1.fc41.x86_64                             External User   updates
  Upgrade  kwin-0:6.3.2.1-1.fc41.x86_64                                     External User   updates
  Replaced kwin-0:6.3.0-3.fc41.x86_64                                       External User   @System
  Replaced kwin-0:6.3.1-1.fc41.x86_64                                       External User   @System
  Replaced kwin-common-0:6.3.0-3.fc41.x86_64                                External User   @System
  Replaced kwin-common-0:6.3.1-1.fc41.x86_64                                External User   @System
  Replaced kwin-libs-0:6.3.0-3.fc41.x86_64                                  External User   @System
  Replaced kwin-libs-0:6.3.1-1.fc41.x86_64                                  External User   @System
  Replaced kwin-wayland-0:6.3.0-3.fc41.x86_64                               External User   @System
  Replaced kwin-wayland-0:6.3.1-1.fc41.x86_64                               External User   @System