[Xfce-bugs] [Bug 5379] xfce session can't properly handle 2+ applications with interactive session save

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Aug 5 20:56:43 CEST 2012


https://bugzilla.xfce.org/show_bug.cgi?id=5379

--- Comment #21 from Dimitar Zhekov <hamster at mbox.contact.bg> ---
Actually I asked Chris for SmSaveGlobal when "Save session on logout" is off,
and he gave me some directions, so here is the patch.

It was a bit more work than I expected, because when sending SmsSaveYourself to
the clients, xfsm itself receives one and saves the session. So I had to add a
save_session variable to XfsmManager, and use xfsm_manager_perform_shutdown
from xfsm_manager_complete_saveyourself.

Whoever is interested, please test:

(a) if xfce saves the xsmp clients (for example gedit) and the legacy clients
(for example xfce Terminal) when "Save session on logout" is on, and does not
save them when off;

(b) if gedit (or another xsmp client) asks to save any modified files when
"Save session on logout" is off.

How to check: patch and compile xfce4-session, replace /usr/bin/xfce4-session
with xfce4-session-$ver/xfce4-session/.libs/xfce4-session, logout and re-login.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Xfce-bugs mailing list