Bug 408206 - Notifications don't timeout (until the user moves the mouse) if they appear under cursor
Summary: Notifications don't timeout (until the user moves the mouse) if they appear u...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.15.90
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-02 06:50 UTC by Kishore Gopalakrishnan
Modified: 2019-06-05 11:20 UTC (History)
2 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 Kishore Gopalakrishnan 2019-06-02 06:50:06 UTC
SUMMARY
If a notification appears under the cursor, the timeout is not triggered properly. Expected behaviour is that that timeout should be suspended only if the user actively brings the cursor onto the notification.

STEPS TO REPRODUCE
1. Place cursor at the position where notifications appear.
2. Run something like 'notify-send Test blah' in a terminal
3. Note that the notification just stays there.

OBSERVED RESULT
Notification timeout does not begin until the user moves the cursor out of the notification.

EXPECTED RESULT
The notification timeout should be suspended only in cases where the user actively moves the cursor onto the notification. Sometimes I'm typing with the cursor just sitting in a corner of my screen, and notifications which appear don't get dismissed, requiring me to move the mouse.

One could either:
1. only suspend the timeout if the mouse is moved and the cursor is on the notification.
2. only suspend the timeout if the cursor was not initially on the notification and it was later brought onto the notification.

SOFTWARE/OS VERSIONS
Linux distro: Arch Linux
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0
Comment 1 Kai Uwe Broulik 2019-06-02 10:38:44 UTC
I wasted so many hours in the past getting the friggin contains mouse crap to work reliably, I'm not gonna artificially jeopardize it by adding any such logic, sorry.
Comment 2 tromzy 2019-06-05 11:20:35 UTC
This bug is REALLY old, on my system it has been happening since the beginning of Plasma 5 I think. It's not specific to 5.15.90.