GNOME Bugzilla – Bug 99221
Should not open window for $HOME on abnormal restart
Last modified: 2008-12-10 00:44:24 UTC
when nautilus(if drawing the desktop) crashes it respawns a draws a new windows showing $HOME. This can then lead to a chain reaction where nautilus keeps crashing and spawning new windows. It would be more ideal if nautilus was respawned with --no-default-window I know that people will say that we need to fix the crash bugs, but i find that having a chain reaction crash makes it virtually imossible to debug the origional crash.
In order to be able to analyze crash bugs a stacktrace is needed. If it is still reproducable, you can attach a stack-trace and reopen the bug.
I'm not fileing a crash bug. The crash I had has already been fixed. What I am filing a bug against is the fact that nautilus spawns a windows showing $HOME after a crash.
Does this still happen with the latest release?
I'm using the latest 2.1 release of Garnome plus nautilus cvs from a week or two ago. To reproduce. ALT+F2 killall nautilus Could this be a gnome-session bug?
This is a nautilus bug in my opinion. Gnome-session is for sure not to blame, it respawns Nautilus off course after a crash but only because Nautilus requested it.
Is it possible to tell gnome-session to spawn 'nautilus --no-default-window' instead of 'nautilus'. This is what its run on startup and is what should be respawned IMHO.
FWIW, I fiddled with this a bit. Try this: 1) Open a few nautilus windows 2) Open session properties, and set nautilus to "normal" 3) killall nautilus (you will now have no desktop) 4) nautilus -n (will start with no new window, only desktop) 5) press ctrl-c to kill it again 6) nautilus will respawn without creating the useless new window 7) killall nautilus 8) tada! effect you wanted. I have no idea how much i've screwed my session by doing this of course :) Ideally nautilus would save session data constantly as it ran, that way if it crashed or was killed, all the open windows would pop up as well (but that could lead to a recursive crash again obviously).
Mike: what version are you using? That didn't work for me..
Still present in 2.2
Is it still there in 2.4.x?
Yes, to reproduce 'killall nautilus'
This looks very weird with the new spacial nautilus setup. Suddently there is a new navigational window showing $HOME. Not good.
*** Bug 151717 has been marked as a duplicate of this bug. ***
What about showing the default window *only if* show_desktop is False?
*** Bug 323317 has been marked as a duplicate of this bug. ***
Thanks, fixed in trunk: http://svn.gnome.org/viewvc/nautilus?view=revision&revision=14546