Created attachment 178252 [details] browser-right-click SUMMARY Seemingly all over the system the cursor randomly switches to the terminate application icon. STEPS TO REPRODUCE 1. open steam for example 2. fiddle around at the notifications are 1. open this bugreport form 2. right click in the text input field 1. have your mouse cross between an active window and the main panel (this is more random) OBSERVED RESULT the cursor switches to the terminate x icon EXPECTED RESULT don't have the unnecessary and incorrect cursor switch SOFTWARE/OS VERSIONS Linux: 6.13.2 KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION happens with breeze and custom cursor theme wayland seems to happen when the mouse is going between different components, and doesnt even have to get a signal to change its appearance (i have put it in the wrong component, sry bout that, that component section could benefit from a search field)
Created attachment 178253 [details] steam
opening https://write.as/new and right clicking in firefox does not net this problem, but in a chromium based browser it happens. It can also happen in signals input field
Can reproduce, I actually had this bug in Fedora KDE a few months ago (Plasma ≈6.1.4), but Arch Linux did not have this bug until Plasma 6.3.
(In reply to Greeniac from comment #3) > Can reproduce, I actually had this bug in Fedora KDE a few months ago > (Plasma ≈6.1.4), but Arch Linux did not have this bug until Plasma 6.3. Seems to be an issue with X11 windows in a Wayland session, but I have not done much testing.
Another way to trigger the bug is by making the panel unresponsive whilst it is touching an x window. When partially covered (ex windows go under) only the part which touches the x window triggers the cursor, but the x cursor will only be visible on the panel, not the xwayland window. ex: Using https://github.com/baduhai/Koi to change the system theme by middle clicking it, makes my panel unresponsive whilst the change is happening. While the panel is in that state I can hower over it with my mouse in an area that touches an xwayland window, the bug appears.
Does this happen on X11, or Wayland, or both? Does it happen in Plasma or any KDE apps?
*** Bug 500277 has been marked as a duplicate of this bug. ***
(In reply to Nate Graham from comment #6) > Does this happen on X11, or Wayland, or both? > > Does it happen in Plasma or any KDE apps? Doesn't seem like it, seems to only happen with non QT/KDE X11 apps in a Plasma Wayland session, so Chromium/Electron based applications always have this issue (since pretty much all of them only use X11), and GTK/GNOME applications with X11 all have issue. But KDE/QT applications that use X11 like VLC don't have this issue. And all X11 apps work fine in Plasma X11 it's just the Wayland session that has this issue. Tested with both Flatpak and system packages in Arch Linux and Thumbleweed with two seperate computers (both with an AMD GPU).
(In reply to Nate Graham from comment #6) > Questo accade su X11, Wayland o entrambi? > > Succede in Plasma o in qualsiasi applicazione KDE? In my experience, at the moment the problem is only on Chrome / Chromium. It did not happen in Plasma 6.2, it has happened since I updated to Plasma 6.3 (Arch Linux)
I can reproduce the issue in a Wayland session with Chromium and VS Code. Interestingly enough, I cannot reproduce it with Discord which is also Electron-based.
(In reply to Nate Graham from comment #10) > I can reproduce the issue in a Wayland session with Chromium and VS Code. > Interestingly enough, I cannot reproduce it with Discord which is also > Electron-based. Maybe with their work to make wayland screen recording work somehow fixed it?
I can confirm I had the same issue with vscode running under xwayland but after forcing it to use wayland the problem disappears.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5229
I have the same problem with latest chromium-browser and leafpad-editor.
Git commit 89f99b2fa8770431b64ef19fb9ecc48628cdeac8 by Vlad Zahorodnii. Committed on 19/02/2025 at 12:21. Pushed by vladz into branch 'master'. kcms/krdb: Wait until root window cursor is set It looks like the X server may not process queued requests from a client if it disconnects. In order to address that, this change makes krdb wait until the root window cursor is set and only then terminate the temporary connection. M +5 -1 kcms/krdb/krdb.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/89f99b2fa8770431b64ef19fb9ecc48628cdeac8
(In reply to Tim B. from comment #14) > I have the same problem with latest chromium-browser and leafpad-editor. just since update to kde 6.3, wayland-only, x11 is ok
Git commit 1d7c6e3ecfaff1b1cf8c0229db174705a4761dfe by Vlad Zahorodnii. Committed on 19/02/2025 at 12:53. Pushed by vladz into branch 'Plasma/6.3'. kcms/krdb: Wait until root window cursor is set It looks like the X server may not process queued requests from a client if it disconnects. In order to address that, this change makes krdb wait until the root window cursor is set and only then terminate the temporary connection. (cherry picked from commit 89f99b2fa8770431b64ef19fb9ecc48628cdeac8) Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org> M +5 -1 kcms/krdb/krdb.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/1d7c6e3ecfaff1b1cf8c0229db174705a4761dfe
(In reply to Vlad Zahorodnii from comment #15) > Git commit 89f99b2fa8770431b64ef19fb9ecc48628cdeac8 by Vlad Zahorodnii. > Committed on 19/02/2025 at 12:21. > Pushed by vladz into branch 'master'. > > kcms/krdb: Wait until root window cursor is set > > It looks like the X server may not process queued requests from a client > if it disconnects. In order to address that, this change makes krdb wait > until the root window cursor is set and only then terminate the temporary > connection. > > M +5 -1 kcms/krdb/krdb.cpp > > https://invent.kde.org/plasma/plasma-workspace/-/commit/ > 89f99b2fa8770431b64ef19fb9ecc48628cdeac8 Vlad, thank you! for fixing pretty much all of the bugs that made my Plasma experience less than ideal. And thanks to Nate Graham and the rest of the KDE team for all of the work!
*** Bug 500736 has been marked as a duplicate of this bug. ***
*** Bug 498512 has been marked as a duplicate of this bug. ***