GNOME Bugzilla – Bug 111223
navigational window closed when directory it's viewing is deleted
Last modified: 2006-07-19 07:37:58 UTC
Sorry for the complicated summary, guys. 1. I noticed that when I have a Nautilus window open, displaying a directory that is then deleted in a shell, nothing happens (which is okay, even though a little bit unintuitive for me. M$ closes Explorer windows immediately when the displayed directoy is removed.) 2. BUT: When I hit the "go up one level / display parent" button, the window IS closed, which _doesn't_ make sense, because the parent directory _does_ still exist. (I guess Nautilus crashes on accessing the child directory once more before actually navigating to the parent, which fails because the child does no longer exist.) DK
I can duplicate behavior in item (1) under both RedHat Linux 8.0 and RedHat Linux 9. Item (2) I can duplicate under RedHat Linux 9 but not under RedHat linux 8.0. Setting priority->high (regression in behavior), modifying the summary a little bit to shorten it, adding RedHat 9 to the OS Details, adding GNOMEVER2.2 & bugsquad keywords, and adding myself to the cc field.
I can reproduce 1., but 2. seems to have been fixed by recompiling with FAM in gnome-vfs. Did you have a fam-enabled gnome-vfs installed?
I have no idea what I used to have anymore other than the fact that it was a basic default RH 9 installation. I have long since changed my systems. Under both Fedora Core 1 and GNOMEVER2.5 built from CVS yesterday, I can reproduce (1) but I can't reproduce (2) (i.e. I get the same behavior as Kjartan now). So I guess the regression was fixed. Do we still want to leave this open in order to fix (1), though?
This mostly works pretty darn well now except for the following case, so I'm bumping down the priority down to normal. 1. create a new folder 'test' on desktop. 2. double click 'test' to open it in spatial mode. 3. right-click 'test' and choose 'Browse Folder' to open it in navigation mode 4. from a terminal: $ rm -rf ~/Desktop/test Actual Results: The navigational and spatial windows both disappear. Expected Results: The spatial window disappears and the navigational window changes it's directory view to the next highest existing directory. I can see some disagreeing about what the Expected Results should be here, but that's the way Windows does it, and it seems more intuitive to me.
Forgot to do this: I'm changing the summary to reflect the current situation.
*** Bug 142204 has been marked as a duplicate of this bug. ***
*** Bug 172549 has been marked as a duplicate of this bug. ***
Comment from the duplicate: "1. Open directory (for instance, /home/james/test) in nautilus 2. Open console, rm -rf /home/james/test What happens: Nautilus Closes What should happen: Nautilus should detect the folder has been deleted, and ask the user what to do (ie. close nautilus, go back to last visited directory, go up one parent directory, etc.)"
Still closing with 2.12.2
Looks like the same issue than bug #336724 which is fixed now, marking as duplicate. Feel free to reopen if you disagree *** This bug has been marked as a duplicate of 336724 ***