>  are to allow applications to inhibit shutting down until the user can 
> respond to request to save work (or some timeout expires, presumably)

I looked at the Gnome session manager docs which say (in bold) __applications 
should not assume they can block logout or shutdown__.  Qt says something 
similar.  So no, its not guaranteed that they will have any time available.

Essentially session management (especially at shutdown, but also logout) seems 
to be impossible since the session manager can also be overruled by the 
shutdown process.

Really the only way of saving stuff is to keep everything saved as we go, and 
hope that its never killed half way through the save :(

Users can use the save actions plugin to save files, all we need to add is 
project and user sessions, maybe save actions could be extended to periodically 
save them too?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1860#issuecomment-391572241

Reply via email to