Bug 408206

Summary: Notifications don't timeout (until the user moves the mouse) if they appear under cursor
Product: [Plasma] plasmashell Reporter: Kishore Gopalakrishnan <kishore96>
Component: NotificationsAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: plasma-bugs-null, tromzy
Priority: NOR    
Version First Reported In: 5.15.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.