Bug 682478

Summary: Desktop background disappears and reappears
Product: [Fedora] Fedora Reporter: Nathan Thomas <nathan>
Component: nautilusAssignee: Tomáš Bžatek <tbzatek>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: ccecchi, tbzatek, tsmetana, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-26 16:57:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
dmesg
none
Xorg log none

Description Nathan Thomas 2011-03-05 22:29:39 UTC
Created attachment 482475 [details]
dmesg

Description of problem:
When I log in, the desktop background picture appears, then disappears to show a blank blue desktop with computer, home folder and wastebasket icons. This happens a couple of times before settling on the background picture. Normally I have no desktop icons showing. This behaviour started after upgrading to xorg-x11-drv-ati 6.13.1-0.4.20100705git37b348059.fc14.x86_64.


Version-Release number of selected component (if applicable):
6.13.1-0.4.20100705git37b348059.fc14.x86_64
Xfce 4.6.2
xfwm4 4.6.2-2.fc14.x86_64
xfce4-panel 4.6.4-1.fc14.x86_64
ATi Mobility Radeon HD 3400

How reproducible:


Steps to Reproduce:
1. Log into Xfce via GDM.
2. Watch 
  
Actual results:
Desktop switches from background picture, to blank desktop with icons, and back again a couple of times.

Expected results:
Only desktop background picture should be shown

Additional info:
Could be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=584095

Comment 1 Nathan Thomas 2011-03-05 22:31:41 UTC
Created attachment 482477 [details]
Xorg log

Comment 2 Nathan Thomas 2011-03-07 09:24:28 UTC
Problem goes away when I uninstall Nautilus (which I installed at the same time as upgrading xorg-x11-drv-ati). Reassigning.

Comment 3 Tomáš Bžatek 2011-03-09 15:21:15 UTC
So I guess you've been running both Nautilus and Thunar at the same time and both were trying to manage your desktop. Can you confirm that?

Nautilus desktop file contains OnlyShowIn=GNOME which should be honored by xfce4-session. Perhaps is Nautilus run from some other place.

(In reply to comment #0)
> Could be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=584095
Unlikely.

Comment 4 Nathan Thomas 2011-03-09 17:40:02 UTC
(In reply to comment #3)
> So I guess you've been running both Nautilus and Thunar at the same time and
> both were trying to manage your desktop. Can you confirm that?

That's correct. I wasn't actively using Nautilus, but it was installed as a dependency when installing Dropbox using their yum repo, even though Dropbox works fine without it.

> Nautilus desktop file contains OnlyShowIn=GNOME which should be honored by
> xfce4-session. Perhaps is Nautilus run from some other place.

Not as far as I'm aware - none of my autostarted applications should be running Nautilus. Do you know how I could check if xfce4-session is failing to honour the Nautilus settings?

Comment 5 Tomáš Bžatek 2011-03-11 16:42:53 UTC
(In reply to comment #4)
> Not as far as I'm aware - none of my autostarted applications should be running
> Nautilus. Do you know how I could check if xfce4-session is failing to honour
> the Nautilus settings?
That depends on how is Nautilus started. I am not that familiar with xfce but I remember seeing a checkbox somewhere in xfce settings to start Gnome services on startup. It could be that some gnome service is starting nautilus as a dependency.

Other than that, /etc/xdg/autostart contains desktop files for autostarted apps by default. Again, the OnlyShowIn key should be honored by active desktop session manager.

Comment 6 Nathan Thomas 2011-04-14 22:02:44 UTC
(In reply to comment #5)

Sorry to take so long to reply. I figured out that if I have a Nautilus window open, and then close it, it leaves a process running in the background, which gets remembered by the session manager and restarted the next time I log in. This makes perfect sense if Nautilus is meant to be running your desktop. Killing the process fixes the problem. It appears that the OnlyShowIn=GNOME setting is otherwise being obeyed.

I found the 'nautilus --no-desktop' option, but it still leaves the background process running if the window is closed. Is there a way to configure Nautilus so that when it is run with the '--no-desktop' option, closing the window also closes the process completely?

I believe that for GNOME 3 the Shell takes over handling the desktop background anyway, in which case this bug could be marked as either NOTABUG or NEXTRELEASE.

Thanks
Nathan

Comment 7 Cosimo Cecchi 2011-04-26 16:57:56 UTC
Yes, the default Nautilus 3.0 options work better for this use case too, as it doesn't draw the desktop and will always quit together with the last window.

Comment 8 Nathan Thomas 2011-04-28 13:51:55 UTC
That's good to hear, Cosimo, thanks!