Bug 835 - Problem with XFCE4 Session Restore
Summary: Problem with XFCE4 Session Restore
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2011-04-15 20:41 CEST by Georges Eckenschwiller
Modified: 2011-12-10 10:22 CET (History)
2 users (show)

See Also:
Source RPM: xfce4-session
CVE:
Status comment:


Attachments

Description Georges Eckenschwiller 2011-04-15 20:41:10 CEST
Description of problem:

When I restart xfce, the appication that were open during the previous session are actually restored. 
But the windows of all these applications have no title bar (and therefore not relevant icons) and have no border. It is impossible to resize. 

Note: When the mouse pointer is located on a portion of the desktop, the hourglass is running.
Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Logout keeping applications on the desktop.
2. Login


Reproducible: 

Steps to Reproduce:
Comment 1 Ahmad Samir 2011-06-26 23:12:18 CEST
I don't have a fix for this, but there's a workaround: http://forums.gentoo.org/viewtopic-t-866963-start-0.html

- Launch xfce4-session-settings, go to "Application Autostart"
- Click Add, give it a name and put this in the command box:
xfwm4 --replace

that's it, when you save the session, this will _force_ the xfce4 window manager to be started.
Ahmad Samir 2011-06-26 23:12:39 CEST

Source RPM: (none) => xfwm4

Comment 2 Ahmad Samir 2011-06-28 22:10:55 CEST
BTW, using this workaround, xfwm4 may get launched when you log into DE's other than XFCE4 too. To make only start in XFCE4:
echo OnlyShowIn=XFCE >> ~/.config/autostart/<file-name>.desktop

the <file-name> is whatever the name you used when using xfce4-session-settings.
Comment 3 Georges Eckenschwiller 2011-07-18 13:34:17 CEST
(In reply to comment #1)
> I don't have a fix for this, but there's a workaround:
> http://forums.gentoo.org/viewtopic-t-866963-start-0.html
> 
> - Launch xfce4-session-settings, go to "Application Autostart"
> - Click Add, give it a name and put this in the command box:
> xfwm4 --replace
> 
> that's it, when you save the session, this will _force_ the xfce4 window
> manager to be started.

I made the change on mageia and on cauldron.
For both, the default is corrected.

Solution, even temporary, would be to patch the /etc/xdg/autostart, to get the fix automatically.

There are still some correction to Xfce, but I think it's best to create a report for each.
Comment 4 Ahmad Samir 2011-07-18 13:35:40 CEST
The best thing to do is to file a bug report upstream at https://bugzilla.xfce.org/
Comment 5 Georges Eckenschwiller 2011-07-18 13:39:26 CEST
(In reply to comment #2)
> BTW, using this workaround, xfwm4 may get launched when you log into DE's other
> than XFCE4 too. To make only start in XFCE4:
> echo OnlyShowIn=XFCE >> ~/.config/autostart/<file-name>.desktop
> 
> the <file-name> is whatever the name you used when using
> xfce4-session-settings.

I only have offices icewm and Xfce.

Therefore, I do not need this latest patch.
Comment 6 Georges Eckenschwiller 2011-07-18 15:59:35 CEST
The problem seems the same as the bug https://bugzilla.xfce.org/show_bug.cgi?id=7687

I made my request.
Comment 7 Marja Van Waes 2011-10-09 16:29:31 CEST
Not yet solved upstream

Keywords: (none) => UPSTREAM
CC: (none) => marja11

Comment 8 Marja Van Waes 2011-12-08 08:52:49 CET
Still no news in the upstream bug report

I suppose the bug is still there in updated cauldron with xfce4-session-4.8.2-2.mga2

CC: (none) => jani.valimaa
Summary: Problem with Session Restore => Problem with XFCE4 Session Restore
Source RPM: xfwm4 => xfce4-session

Comment 9 Georges Eckenschwiller 2011-12-10 10:22:52 CET
Now that lxdm can connect properly, I return the tests xfce.

Indeed, the windows are properly restored, even for applications called "legacy".

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.