Bug 431935 - Notifications should never appear right under your cursor
Summary: Notifications should never appear right under your cursor
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-01-22 15:09 UTC by Nate Graham
Modified: 2025-05-12 18:22 UTC (History)
4 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 Nate Graham 2021-01-22 15:09:06 UTC
Everything KDE-related from git master as of today.


STEPS TO REPRODUCE
1. Move your cursor above some UI element you want to click on that happens to be in the area of the screen where notifications appear
2. Get a notification
3. Click


OBSERVED RESULT
The notification gets activated, taking you to the sending app, which breaks your focus and takes you away on what you were doing

EXPECTED RESULT
New notifications should not be positioned in a location where the cursor already is, so that clicking will not accidentally trigger a suddenly-appearing notification
Comment 1 Nicolas Fella 2021-01-22 16:28:17 UTC
Do you have a particular solution in mind?

Changing the popup location/behavior based on the cursor location sounds a bit brittle/unexpected to me
Comment 2 Nate Graham 2021-01-22 16:31:51 UTC
I think would prefer if it would position the notification in the next available position that doesn't have a cursor in it.

That is to say, if you imagine that notifications appear in a stack, if item 0 in the stack has my cursor in that area, the notification would appear in position 1 rather than position 0.
Comment 3 Alexander Potashev 2025-04-29 10:04:42 UTC
Alternatively, maybe ignore the click if it happens <100ms after a notification (or something else) appears under mouse pointer?