Bug 499707 - Notifications from XWayland-using apps "grab" all attention from mouse cursor
Summary: Notifications from XWayland-using apps "grab" all attention from mouse cursor
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 6.2.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-09 01:11 UTC by EpicTux123
Modified: 2025-02-19 21:45 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EpicTux123 2025-02-09 01:11:54 UTC
Hey, I'm not sure if this is the correct component, but I believe it is.

Basically, whenever I get a notification, it seems that it grabs all atention from my mouse cursor (as if the notification ocuppied the entire screen, but invisible/transparent).

I've mostly noticed this on Electron apps (specifically https://github.com/Vencord/Vesktop), but I believe this also applies to other apps.

When this happens, I have to double-click to re-focus the currently visible window.
Comment 1 Nate Graham 2025-02-19 16:28:07 UTC
This is definitely not intentional! Can you attach a screen recording that shows it happening?
Comment 2 EpicTux123 2025-02-19 20:45:41 UTC
Hello. I could attach one; however, I don't know how to reproduce the bug. It's random, even though it happens frequently; but it doesn't happen always.

Aside from that, everytime it has happened to me was mainly via Discord (Vesktop app) notifications, so if I recorded it, it would expose my personal information.

However, I can say what normally seems to cause it: notifications when using XWayland apps and from them.

- Electron uses X11 by default due to some problems with Wayland, so it goes through XWayland (Discord notifications).
- When I'm playing a game via Proton, which uses Wine via XWayland, and I hear a notification then press alt-tab to see it the same issue happens and I also see a X cursor from my Papirus icon theme. (I believe the XWayland window of the game causes issues with the native Wayland notifications as well.)

So far I've not noticed it happening within KDE natively (when everything is Wayland), and I've always noticed the X cursor image whenever it happens (I don't know if it's to indicate a X11 window, but that's what happens).

I have not had this behavior in the past, so I believe it's a regression.

Thanks.
Comment 3 Nate Graham 2025-02-19 21:09:02 UTC
Are the affected notifications standard Plasma notifications? Or are they noticeably different in appearance?
Comment 4 EpicTux123 2025-02-19 21:19:42 UTC
They are standard Plasma notifications.
Comment 5 Nate Graham 2025-02-19 21:45:50 UTC
I'm out of ideas, then. :/