Bug 456421

Summary: delay timeout of notification popups when user appears to be absent
Product: [Plasma] plasmashell Reporter: Oswald Buddenhagen <ossi>
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: aspotashev, kde, nate
Priority: NOR Keywords: usability
Version First Reported In: 5.24.5   
Target Milestone: 1.0   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Oswald Buddenhagen 2022-07-06 22:48:22 UTC
(passive) notification popups that time out are quite useful, but only as long as the user is actually paying attention to the device. therefore, i think it would make sense to postpone starting the timer while the user is apparently AFK.

i suppose the right way to detect AFK would be KIdleTime reporting >15 secs inactivity, no simulated user activity, and no screensaver inhibitors being registered (i'll note that the fdo screensaver d-bus spec currently offers no way to query that).
Comment 1 Nate Graham 2022-07-13 18:05:05 UTC
I think this is a good idea.

Would you be interested in submitting a merge request to implement it?