when the device notifier pops up automatically, leave it open
if there is no user activity, if there is any, close after around
3 seconds. Suspend the countdown if the notifier window either has
focus or the mouse cursor is over it, leaving the user the time to
go interact. if it doesn't have focus and the mouse leaves, resume
the countdown
replaces D10591
Details
- Reviewers
broulik - Group Reviewers
Plasma - Commits
- R120:2da603f9b3d4: auto hide popup when it opened itself
tested for a while in a real world usage, it behaves in a fairly natural
way
Diff Detail
- Repository
- R120 Plasma Workspace
- Branch
- phab/notifierIdleTime
- Lint
No Linters Available - Unit
No Unit Test Coverage
If we do this, I'm not sure that 3 seconds is enough for most users. A lot of people don't notice animated pop-ups in the corner of the screen as fast as you or I do. I would advocate for a minimum of 5 seconds, or even a bit longer.
should be tested... with this code, for.. "reasons", i always wait for 2 timeouts, so would be around 6 seconds tough variable, all depends on the last user activity (one could argue "most of the times" the popup goes up for manual insertion of a thumbdrive, which means no user action at that moment, so the popup would stay "forever" until the user moves the mouse again or types stuff, then the 2*3 seconds timeout starts
so, what i would like is to have this early in the cycle, so there is plenty of time to test for who has master, or neon devel unstable and still tweak it to be perfect before 5.13 release