Nautilus windows should close on unmount

Bug #23293 reported by Martin Emrich
90
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Medium
nautilus (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

(This is not a bug, but a wishlist item)

When a removable device is unmounted (cdrom, etc.), all nautilus windows
displaying it are reset to my home directory, cluttering up my taskbar/desktop
after working with several cdroms.
I would find it nicer if they would disappear if their root directory was within
the unmounted filesystem.

Regards

Martin emrich

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for that idea, I reported it upstream:
http://bugs.gnome.org/show_bug.cgi?id=318094

lexual (lexhider)
Changed in nautilus:
status: Unconfirmed → Confirmed
Changed in nautilus:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

That is fixed with dapper

Changed in nautilus:
assignee: seb128 → desktop-bugs
status: Confirmed → Fix Released
Changed in nautilus:
status: Unconfirmed → Confirmed
Revision history for this message
Martin Emrich (emme) wrote :

Just tried it with an USB harddisk on gutsy, and the window changed to my home directory on unmount.

Ciao

Martin

Revision history for this message
Rory McCann (rorymcc) wrote :

I'm also using gutsy and like Martin Emrich, it's still a problem for me.

Revision history for this message
Rory McCann (rorymcc) wrote :

Re-opening this bug. It's still happening for me and original reporter

Changed in nautilus:
status: Fix Released → Confirmed
Revision history for this message
David Prieto (frandavid100-gmail) wrote :

I was about to file the same bug. When I unmount my USB stick, I get redirected to /media.

Revision history for this message
mxyzptlk (mxyzptlk) wrote :

I was just looking for the same thing; this is still he behavior on Hardy, and it's counter-intuitive.

When one unmounts a device, one expects it to be ejected and off the system, not to launch a new window. It creates clutter and can be confusing to new users.

There must be an easy way to do this, but I don't see any relevant options in man umount (which means nothing, because I'm not all that certain what the options do).

Revision history for this message
Sebastien Bacher (seb128) wrote :

that seems to work using the current version on a cdrom, does anybody still get the issue and could describe easy steps to trigger it?

Changed in nautilus:
status: Confirmed → Triaged
status: Triaged → Incomplete
Revision history for this message
Rory McCann (rorymcc) wrote :

This is still a problem for me using a fairly up to date hardy.

To reproduce:
 * Plug in a USB stick
 * A nautilus window will open on the media
 * Using the gnome-disk-mounter applet, unmount the usb disk
 * The nautilus window is still open, but switches folder to the home folder.

Revision history for this message
Sebastien Bacher (seb128) wrote :

is that specific to this applet use?

Revision history for this message
Rory McCann (rorymcc) wrote :

No, I've tried using pumount on the command line, and by opening the 'Computer' window, right clicking on the USB stick and selecting 'Unmount volume'. In both cases the new nautilus window doesn't close and switches the open folder to my home folder.

Changed in nautilus:
status: Incomplete → Triaged
Revision history for this message
GrzegorzMiskiewicz (massive) wrote :

On My Heardy i have the same action.

Revision history for this message
Amr Bekhit (amrbekhit) wrote :

This behaviour is also seen on my Ubuntu 8.10 Intrepid. Would love to have it automatically close.

Revision history for this message
Gary (gary-geisbert) wrote :

It's still doing this on Jaunty. It seems like the upstream doesn't want to make this change... does anyone know a workaround? This is amazingly annoying.

Revision history for this message
Louis (louisgag) wrote :

You might wanna vote for the corresponding feature suggestion on ubuntu brainstorm: http://brainstorm.ubuntu.com/idea/14754/

Revision history for this message
Martin Albisetti (beuno) wrote :

Agreed.

Changed in hundredpapercuts:
status: New → Confirmed
Revision history for this message
6205 (6205-reactivated-deactivatedaccount) wrote :

Agree. When i unmout volume which is opened in Nautilus i want that window will close..

Revision history for this message
Linus Hoppe (linus-hoppe-deactivatedaccount) wrote :

I'm of the same opinion. When I unmount something, i dont' want t be redirected to /media or to /home/$USER

Revision history for this message
Mat Tomaszewski (mat.t.) wrote :

Targeting it for round 2 - anyone keen to help fixing it?

Changed in hundredpapercuts:
importance: Undecided → Medium
status: Confirmed → Triaged
milestone: none → round-2
Revision history for this message
Yann Lossouarn (yann-lossouarn) wrote :

Errr... I see I'm not in the majority here, but eyh, I can still give my opinion... ;) Two major principles in HMI ergonomics are :
- to let the user control the GUI,
- to provide users with feedback so that they remain conscious of the system state.

It seems to me that applying this principle here would not lead to redirecting the window to a new place (so that the user keeps control about what happens), but to display a message telling him the /media/usb_blahblah has been unmounted/ejected/whatever. This way, if he mounts a new media, the content will be displayed in the same window.

Revision history for this message
Peter Schwenke (bluetoad) wrote :

Unfortunately, it does not use the same window so you end up with several windows you need to close.

I used to just close the window as soon as it came up since I usually use the command line in a terminal window and then umount via the icon on the desktop. But I've accessed the mount via the Places menu recently (and also tried using the GUI to do the copies) and ended up with this annoyance.

I ended up here after gogling for how I could configure Nautilus to close the window.

Revision history for this message
Martin Lettner (m.lettner) wrote :

confirming this. would be just nice if nautilus would close the tab (or window if there is only that one tab) when the media is unmountet. also the user would have a definite feedback that the media was safely removed from the system!

just think about a very common scenario:
- plug in a usb memory drive
- do stuff with it
- click remove/unmount somewhere
- after some seconds the file manager window disappears so also the memory drive can be removed
very intuitive i think...

was this reported upstream already?

Revision history for this message
Yann Lossouarn (yann-lossouarn) wrote : Re: [Bug 23293] Re: Nautilus windows should close on unmount

Hello,

Except maybe in contexts where you have a lot of windows, and you have
to search among your taskbar to ensure none of your windows is the one
corresponding to the volume you just unmounted...

Martin Lettner a écrit :
> confirming this. would be just nice if nautilus would close the tab (or
> window if there is only that one tab) when the media is unmountet. also
> the user would have a definite feedback that the media was safely
> removed from the system!
>
> just think about a very common scenario:
> - plug in a usb memory drive
> - do stuff with it
> - click remove/unmount somewhere
> - after some seconds the file manager window disappears so also the memory drive can be removed
> very intuitive i think...
>
> was this reported upstream already?
>
>

Revision history for this message
Psy[H[] (vovik-wfa) wrote :

There could be many ambiguous situations. For example, I use single nautilus window in fullscreen for file operations. It is often sits there in background with the only tab opened. And I do not want that window to close on its own.
So it would be good to make this behavior switchable or configurable (for example - "do not close last window" checkbox)

Revision history for this message
Dani Alonso (dalonso) wrote :

@Psy[H[]: Ins't this the same as "spatial-mode" VS "navigational-mode" nautilus? I mean, if in "spatial-mode" the unmount should close the window, whether in "navigational-mode" it should show HOME instead. No need for a new switch.

Revision history for this message
Alejandro Vidal (mancvso) wrote :

yes, when we use a simple windows with multiple tabs, closing it is not the smartest solution.

Why not change the current dir to computer:/// ??

Revision history for this message
Sebastien Bacher (seb128) wrote :

the current behaviour is a design decision in fact, before that users were being confused by things closing on screen without then clicking on the close button and were reporting bugs about nautilus crashing, not sure that's a right target for a change

Revision history for this message
Vish (vish) wrote :

+1 to Sebastien Bacher.

It will cause more surprise to the average users. I'm *not sure why this is even being considered for papercuts* !

It no way increases usability of average users.

Revision history for this message
Yann Lossouarn (yann-lossouarn) wrote :

+1 on Sebastien as well. What about my suggestion ? (see https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/23293/comments/20)

Revision history for this message
Vish (vish) wrote :

@Yann Lossouarn: Suggestion regarding feedback notification on Usb removal has been made upstream. :)
http://bugzilla.gnome.org/show_bug.cgi?id=587340

Revision history for this message
Martin Emrich (emme) wrote :

Sebastien made a valid point (Although I would prefer for myself that the windows just close automatically). How about this proposal:

When I unmount a volume, the right area of a nautilus window (with the files) goes gray, with a message in the center like "Please wait while writing data to the device" or "The device is being prepared for removal" (for writable devices). After unmounting is complete, the message changes to "The device can now be safely removed" (For non-ejectable devices) or "The CD-ROM/DVD-ROM/whatever has been ejected" with a "Close window" button below.

- The window would not disappear "magically"
- The "Close window" button is bigger than the little [X] and thus is easier to hit, as in most cases this is what the user wants anyways.
- The status of the unmount process is displayed where the user probably had the attention before: in the nautilus window. As unmounting a volume is in our case triggered manually from within nautilus, I do not consider this a "global" event to appear as a black notification bubble in the upper right corner.

Ciao

Martin

Revision history for this message
Andrew Fister (andrewfister) wrote :

That's a solid suggestion from Martin Emrich. I hope this gets implemented :-)

Changed in hundredpapercuts:
milestone: round-2 → round-9
Revision history for this message
Gary (gary-geisbert) wrote :

I'd still highly recommend just closing the window, or at least making it an option somewhere. I work in an environment where I'm constantly plugging in and unplugging USB storage devices and I inevitably end up with a zillion windows that I have to close. It's pretty annoying.

Revision history for this message
Vish (vish) wrote :

@Gary , adding an option to auto-close the window is a feature request ,
Feature requests are not papercuts. Kindly open a separate bug upstream for that.

@David , Bug #386517 is a contradiction to this! Both have a milestone set !
That is "Unmounting a drive sends Nautilus to /media instead of computer:// "

You have set the milestone for Bug #386517 recently, while this is an older one , so is this an invalid papercut ?

Bug #386517 is a better solution due to all the concerns Sebastien has raised [comment #27].

Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

Agreeing with Sebastian and mac_v, this contradicts behavior of another paper cut and there is significant criticism of the behavior proposed here (I'm not saying the proposed behavior is wrong, it's just contentious).

Changed in hundredpapercuts:
milestone: round-9 → none
status: Triaged → Invalid
Changed in nautilus:
importance: Unknown → Medium
status: Confirmed → Fix Released
Revision history for this message
Omer Akram (om26er) wrote :

there is some intelligent thinking in nautilus 2.30 for this

comment on the upstream patch that was pushed
"""
This patch checks if a window is displaying or has displayed (in history) the
root folder of the mount using g_file_equal in addition to the existing
g_file_has_prefix checks. Note that this change along with the *existing* code
only closes windows who have navigated solely around the mount. If you have
navigated anywhere else in the window it won't be closed."""

Changed in nautilus (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Triaged → Fix Released
no longer affects: hundredpapercuts
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.