After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 99221 - Should not open window for $HOME on abnormal restart
Should not open window for $HOME on abnormal restart
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.13.x
Other Linux
: Low minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 151717 323317 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-11-21 19:45 UTC by Mark Finlay
Modified: 2008-12-10 00:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Mark Finlay 2002-11-21 19:45:08 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.
Comment 1 Aschwin van der Woude 2002-11-23 21:18:25 UTC
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.
Comment 2 Mark Finlay 2002-11-24 12:44:10 UTC
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.
Comment 3 Aschwin van der Woude 2002-11-28 20:47:35 UTC
Does this still happen with the latest release?
Comment 4 Mark Finlay 2002-11-30 10:03:43 UTC
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?
Comment 5 Aschwin van der Woude 2002-12-01 11:13:35 UTC
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.
Comment 6 Mark Finlay 2002-12-13 23:17:18 UTC
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.
Comment 7 Mike Hearn 2003-02-25 13:40:37 UTC
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).
Comment 8 Mark Finlay 2003-02-28 19:03:43 UTC
Mike: what version are you using? That didn't work for me..
Comment 9 Andrew Sobala 2003-03-21 20:23:34 UTC
Still present in 2.2
Comment 10 Kjartan Maraas 2003-10-28 21:21:58 UTC
Is it still there in 2.4.x?
Comment 11 Mark Finlay 2003-10-29 17:58:14 UTC
Yes, to reproduce 'killall nautilus'
Comment 12 Mark Finlay 2003-11-05 17:33:22 UTC
This looks very weird with the new spacial nautilus setup. Suddently
there is a new navigational window showing $HOME. Not good.
Comment 13 Martin Wehner 2004-09-03 15:38:30 UTC
*** Bug 151717 has been marked as a duplicate of this bug. ***
Comment 14 Fabio Bonelli 2006-01-19 13:08:10 UTC
What about showing the default window *only if* show_desktop is False?
Comment 15 Martin Wehner 2006-02-18 01:25:34 UTC
*** Bug 323317 has been marked as a duplicate of this bug. ***
Comment 16 Christian Neumair 2008-08-31 10:14:37 UTC
Thanks, fixed in trunk:

http://svn.gnome.org/viewvc/nautilus?view=revision&revision=14546