Comment 24 for bug 978333

Revision history for this message
In , Dimitar-zhekov (dimitar-zhekov) wrote :

Created attachment 2363
mousepad patch that displays YNC prompt on session logout (demo only, won't save if you choose "yes")

When logging out, and 2+ application issue interact requests during their save-yourself-s, and (at least?) one of them actually starts interacting, the session manager will not continue normally when the interaction completes. Instead, it will wait 1 minute, and then forcibly close the session. During this period, a second logout attempt will say that the session manager must be idle when requesting shutdown.

It's OK if there is only 1 app with interactive save yourself, or there are 2 apps, but none of them actually interacts.

For example, patch a mousepad, run 2 copies of it, type "boza" in the first copy and try to logout. A yes/no/cancel prompt will be displayed, but after you answer, the second mousepad (and thus the whole session) will remain for 1 minute - or until you close the it. YMMV, I received an ICE I/O error once.

It's not a libxfcegui4 session-client problem, I tried with non-xfce apps as well.

Maybe it's not the interaction by itself that matters, but the longer time interval between interact request and interact done?