xfce4-session-plugin always save the session during restart/logout.

Bug #831772 reported by Vladimir Kravets
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfce4 Session
Unknown
Unknown
xfce4-session (Ubuntu)
Fix Released
Medium
Lionel Le Folgoc

Bug Description

Actual behavior:
xfce4-session-plugin always save the xfce4 session during logout/restart.

Expected behavior:
xfce4-session-plugin should save the xfce4 session according to value of
SaveOnExit flag from xfce4 settings registry. (key:
xfce4-session/general/SaveOnExit)

Steps to reproduce:
1. Add Session Menu plugin to the xfce panel.
2. Launch some application (e.g. Web Browser)
3. Click on the Session Menu button on the panel and click Log Out.
(Login manager should be appeared)
4. Login to the system
=>
5. Web Browser will be launch.

System Information:
$ cat /etc/issue
Ubuntu 11.04 \n \l

$ uname -a
Linux sly-sub 3.1.0-0301rc2-generic #201108150905 SMP Mon Aug 15 09:12:41 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux

$ apt-cache show xfce4
Package: xfce4
Priority: optional
Section: universe/x11
Installed-Size: 40
Maintainer: Xubuntu Developers <email address hidden>
Original-Maintainer: Debian Xfce Maintainers
<email address hidden>
Architecture: all
Version: 4.8.0~ubuntu1
Depends: xfwm4 (>= 4.8.0), xfconf (>= 4.8.0), xfce4-settings (>= 4.8.0),
xfce4-panel (>= 4.8.0), xfdesktop4 (>= 4.8.0), thunar (>= 1.2.0), thunar-volman
(>= 0.6.0), xfce4
-utils (>= 4.8.0), gtk2-engines-xfce (>= 2.8.0), xfce4-session (>= 4.8.0),
xfce4-appfinder (>= 4.8.0), xfce4-mixer (>= 4.6.1), orage (>= 4.8.0)
Recommends: xorg, desktop-base (>= 5.0.4), tango-icon-theme (>= 0.8.90)
Suggests: xfprint4, xfce4-goodies
Filename: pool/universe/x/xfce4/xfce4_4.8.0~ubuntu1_all.deb

Revision history for this message
Vladimir Kravets (vova-kravets) wrote :
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

I'm going to upload my proposed patch attached to the upstream bug report (as this issue is annoying when xfwm4 crashes on logout, and is saved in this state, thus not restarted on the next session...).

Changed in xfce4-session (Ubuntu):
assignee: nobody → Lionel Le Folgoc (mrpouit)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfce4-session - 4.8.1-4ubuntu2

---------------
xfce4-session (4.8.1-4ubuntu2) oneiric; urgency=low

  * debian/patches:
    - 0001-Do-not-always-save-session-with-xfce4-logout-plugin-.patch: let
      the logout panel plugin use the /general/SaveOnExit property. lp: #831772
    - series: enable it.
 -- Lionel Le Folgoc <email address hidden> Fri, 09 Sep 2011 22:39:46 +0200

Changed in xfce4-session (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
doc brown (docbrown) wrote :

Thanks for the fix!

Stupid question: How can i apply this one to Natty Narwhal? Standard released package (right now) is 4.8.1-1ubuntu2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.