[Pkg-xfce-devel] Bug#596477: Bug#596477: xfce4-session: Running apps get restarted next session, though "Automatically save session" is inactive

Yves-Alexis Perez corsac at debian.org
Sun Sep 12 10:46:55 UTC 2010


On dim., 2010-09-12 at 12:34 +0200, Andreas Neudecker wrote:
> Hi Yves-Alexis.
> 
> >> xfce4-session does not honour the setting of Settings->Session and Startup->[ ]
> >> Automatically save session on startup.
> > 
> > This is /general/AutoSave.
> 
> Right, then may be the error is in the logout dialogue and that setting.
> My setting /general/SaveOnExit was set to TRUE because the checkbox "[ ]
> Save settings for future login" in the logout prompt dialogue has been
> UNCHECKED in my profile as long as I can remember. And the behaviour
> changed when I changed that to FALSE.
> 
As far as I understand it, everything is fine in that behavior.

> I have generated a new profile to test the behaviour:
> * create new profile
> * log in using XFCE session
> * check settings in settings editor:
> 	/general/AutoSave does not exist (default used?)
> 	/general/SaveOnExit does not exist (default used?)
> * log out (logout prompt dialogue has "[+] Save session for future
> logins" CHECKED
> * log back in
> * settings editor:
> 	/general/SaveOnExit is now set: TRUE
> 	/general/AutoSave does not exist
> * open Thunar
> * log out

So Thunar is saved in the session.

> * log back in
> * Thunar gets re-opened (OK)

Normal.

> * log out; this time remember to
>   * UNCHECK [ ] Save session for future logins

So you don't want to save the current session. *The previous session is
remembered* (this is what you missed, I think).

> * log back in
> * Thunar STILL RE-OPENED (original window position is not restored)

Yes, this is the “first” thunar window you opened.

> * logout prompt dialouge: [ ] Save session for future logins IS UNCHECKED
> * settings editor:
> 	/general/SaveOnExit is still FALSE
> 	/general/AutoSave does still not exist (makes sense)

Everything is normal.

> * Check Settings->Session and Start-Up->[+] Automatically save session
> on logout: CHECKED
> * check in settings editor: /general/AutoSave: TRUE. Change to FALSE
> * log out

You asked for autosave, so the session will be saved, overwriting the
previous one, so Thunar is now out.
> * log back in
> 
> Only NOW is Thunar NOT re-opened at login.

Which makes sense.
> 
> Is it possible that at some point SaveOnExit and AutoSave get mixed up
> internally?

No, but if you don't save the *current* sesssion at logout (wether by
checking the box in the logout box or because it's autosaved) and a
previous one exists, then the previous one will be used.

Best way to to clear the session is to set it to the state you want it
(might be without anything), then go to the session settings, session
tab, then click “save”. 

Cheers,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100912/049f3cd0/attachment.pgp>


More information about the Pkg-xfce-devel mailing list