Skip to content

sm: Log out anyway after 2 minutes

Kai Uwe Broulik requested to merge work/kbroulik/better-logout-noti into master

When an app didn't close, we show a notification to let the user continue anyway or cancel the logout.

When after 2 minutes no action was taken, the session will logout anyway. This avoids triggering a shutdown and then leaving the computer just to find it's been waiting on us to confirm an app that didn't close.

sm: Update apps did not close notification live

Makes for a nicer UX when closing app windows after the message has opened, as a kind of todo list of apps to still deal with.

While at it, add a space between bullet point and app name.


2 minutes should be plenty for the user to save their work without cancelling the logout manually. I think 30 seconds would be too short. And it’s mostly for the “I hit shutdown and leave the room” use case.

Bildschirmfoto_20241208_094117

(wonder if we could make the notification a bit prettier, too with an appropriate icon and title but that’s unrelated)

Edited by Kai Uwe Broulik

Merge request reports

Loading