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 115763 - An icon should be added (by default) to the panel to make ejected mounted media more intuitive and easier.
An icon should be added (by default) to the panel to make ejected mounted med...
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Trash
2.11.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 47285 106071 139143 143909 145129 147265 170501 321058 324685 391525 523980 559004 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-06-23 04:32 UTC by Rodd Clarkson
Modified: 2011-09-13 05:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Regular trashcan icon on OSX dock (18.69 KB, image/png)
2005-07-13 12:20 UTC, Calum Benson
  Details
Trashcan changing to Eject icon as a volume icon is dragged towards it (18.61 KB, image/png)
2005-07-13 12:21 UTC, Calum Benson
  Details
Patch against HEAD to unmount/eject when dragging to trash (2.38 KB, patch)
2005-08-01 17:33 UTC, Rodney Dawes
rejected Details | Review
mockup to show a way to do unmount (34.24 KB, image/jpeg)
2005-08-06 04:31 UTC, Hubert Figuiere (:hub)
  Details
Eject in Places menu (mockup) (15.14 KB, image/png)
2005-08-06 15:24 UTC, Julian Turner
  Details
Eject in Places menu (mockup) (15.14 KB, image/png)
2005-08-06 15:24 UTC, Julian Turner
  Details
A mock up of a CD Eject button in the Notification Area. (5.06 KB, image/png)
2005-08-07 16:27 UTC, Amadeus
  Details
Sample of how an eject button could be implemented in the notification area. (24.89 KB, image/png)
2005-08-07 22:35 UTC, Rodd Clarkson
  Details
nautilus DND eject against CVS HEAD 20050808 (2.44 KB, application/x-bzip)
2005-08-08 13:08 UTC, James William Dumay
  Details

Description Rodd Clarkson 2003-06-23 04:32:36 UTC
I just noticed that when you drag a mounted CD-ROM to the trash you get two
dialogs.

The first says:

"YALV" cannot be moved to the Trash. Do you want to delete it immediately?
[DELETE|CANCEL]

If you click on DELETE a second dialog says:

You cannot delete a volume icon.  If you want to eject the volume, please
use Eject in the right-click menu of the volume.


THOUGHTS:

I can't help but wonder why the action of dragging a user-mounted volume to
the trash doesn't just umount the volume, or respond with an appropriate
message saying that the volume is being used and that it can't be umounted.
Comment 1 Murray Cumming 2003-07-03 14:32:04 UTC
> I can't help but wonder why the action of dragging a user-mounted >
> volume to
> the trash doesn't just umount the volume,

There is wide agreement that that is unintuitive on the Macintosh.

However, the user should see 1 dialog rather than 2.
Comment 2 Sebastien Bacher 2003-11-28 20:28:16 UTC
106071 is a dup with this description :

"On MacOS moving a volume to the trashcan ejects
them. I'd like that feature..."
Comment 3 Sebastien Bacher 2003-11-28 20:28:31 UTC
*** Bug 106071 has been marked as a duplicate of this bug. ***
Comment 4 Rodd Clarkson 2003-11-30 23:23:45 UTC
Okay, I've been giving this some though, particularly in response to
Murray's comments.

I know that dragging a user mounted drive to the trash can is
unituitive, so I can understand some reluctance in implementing this.

However, it's also ironic that instead of umounting the drive like
people probably expected you get a dialog telling you you can't do it
this way and that you have to do it another way.

Given that the error message implies that you're trying to eject the
drive, wouldn't it just be simpler to do just eject the disk instead
of telling the user that they have to eject the disk another way?  The
user doesn't care that the action is unintuitive, they just want their
disk to pop out of the drive.

Maybe we need to follow Apple's lead on this and change the trash icon
to an eject icon to make it more intuitive.
Comment 5 Matthew Gatto 2004-05-14 22:53:19 UTC
I don't see how it's "unintuitive" to unmount a volume by deleting it or
dragging it to the Trash. I think it makes sense.

Either that or the error dialog could directly offer to unmount the volume:

"<Error> You can't put a mounted volume in the Trash. Would you like to unmount
the volume? [No, don't unmount] [Yes, Unmount]".
Comment 6 Håvard Wigtil 2004-06-09 07:01:50 UTC
*** Bug 143909 has been marked as a duplicate of this bug. ***
Comment 7 Sybren Stüvel 2004-06-09 14:19:01 UTC
I think dragging a volume to the trash bin can be interpreted in two ways:

1) It unmounts/ejects the volume, and
2) It erases all the data on the volume

If the user should be presented a dialog, I think she should be able to choose
between those two, combined with a checkbox "don't ask this again".
Comment 8 Rodd Clarkson 2004-06-09 23:25:43 UTC
I disagree.  If people drag a mounted volume icon (a picture of a disk, NFS
share, etc) from their desktop to the trash, it should simply unmount the
volume.  If they wish to delete the contents of the volume, then they can open
the folder and delete the contents that way.

If GNOME is looking at being able to remove items from the panel by doing this,
then why not mounts.
Comment 9 Sybren Stüvel 2004-06-10 10:28:31 UTC
Rodd, I both agree and disagree with you.

> If they wish to delete the contents of the volume, then they can
> open the folder and delete the contents that way.

Just because people can erase a volume by opening it and deleting the content
doesn't mean that should be the only way to do it. If I follow the logic of your
post, this whole discussion is useless because people can unmount a volume by
using the context menu, which, by your reasoning, should be enough. This means
that either this bug is now closed, or your point is void. I think we all prefer
the latter.

> If GNOME is looking at being able to remove items from the panel by doing
> this, then why not mounts.

I agree with you here.
Comment 10 Rodd Clarkson 2004-06-10 10:57:54 UTC
Actually, I think it's dangerous to allow a total delete of a mounted  volume by
dragging it to the trash.  There's a lot of difference between a the effects of
a  umount and a rm -rf.  It's not hard to imagine a scenario where my three year
old  son drags a mounted volume to the trash and deletes the lot.  If he has to
open the volume and then drag the contents to trash he's much less likely to do
a lot of damage.

Imagine the damage that you could do if someone stuffs up with permissions and
you drag a server's worth of home directories to the trash. ;-[  But if all that
happens is the the mount is umounted then no biggy.
Comment 11 Sybren Stüvel 2004-06-10 11:39:13 UTC
> It's not hard to imagine a scenario where my three year old son
> drags a mounted volume to the trash and deletes the lot.

I agree to the fullest here. I hadn't thought of it. No deletion or erasure then ;-)
Comment 12 Sebastien Bacher 2004-06-16 21:59:32 UTC
*** Bug 139143 has been marked as a duplicate of this bug. ***
Comment 13 Mantas Kriaučiūnas 2004-07-06 21:50:12 UTC
I think the main problem is, that user can't unmount volume without clicking
right click on it. Right click isn't intuitive and user-friendly. Moving to
trash is not very bad idea until it is a way to choose between erase and unmount.
Gnome developers should give more features to customize default behaviour for
users. Users aren't dumb and should have a right to customize. Lets users not
developers decide what is more comfortable for them - maybe some users will
choose unmounting, some erasing, some don't use this feature at all and I think
all these ways will be comfortable and user-friendly.
Also, the problem is with compatibility with older gnome versions - starting
from GNOME 0.x to 2.4 there was a possibility to mount/unmount volumes with
right click on the desktop. Now there are no this possibility. This is very bad,
because users had this possibility for about 5 years. Removing this feature
without any chances to customize (enable mounting/unmounting with right click on
the desktop) in preferences is very bad idea because of this users' habit.
Comment 14 Vincent Noel 2004-07-19 22:58:18 UTC
*** Bug 145129 has been marked as a duplicate of this bug. ***
Comment 15 Vincent Noel 2004-07-19 22:59:55 UTC
*** Bug 147265 has been marked as a duplicate of this bug. ***
Comment 16 Vincent Noel 2004-07-19 23:02:10 UTC
There is an interesting comment at
http://blogs.sun.com/roller/comments/timf?anchor=a_computer_being_too_smart
(from bug #147265).
Comment 17 Vincent Noel 2004-07-19 23:04:24 UTC
*** Bug 47285 has been marked as a duplicate of this bug. ***
Comment 18 Vincent Noel 2004-08-03 23:06:02 UTC
Also on macs with a single mouse button, it is currently impossible to unmount a
CD (the only way is by opening the context menu with a keyboard shortcut, which
is even more undiscoverable). The "unmount" option is not even present in the
file menu of the "Computer" window...
Comment 19 Abbie Gonzalez 2004-09-04 02:26:13 UTC
The way I see it is:
user drags a volume to the trash.
GNOME tells you thats not how you unmount a volume.
The end.

If GNOME is 100% certian that the user is trying to unmount a volume, why not 
just unmount the volume. 

Any one read "The Human Interface"?
Comment 20 Vincent Noel 2004-10-05 18:42:19 UTC
According to bug 154283, this feature will not get implemented in nautilus. Ever.
Comment 21 Sybren Stüvel 2004-10-05 22:12:26 UTC
Well, in that bug no real arguments are discussed except "we don't want it". I
think it's bullshit.

If a system knows for sure the user wants some action to be performed, the
action should be performed. Period.
Comment 22 Michael T. Babcock 2004-10-17 23:31:59 UTC
I would like to add a comment that I expect a real response to:

Why doesn't the error instead present:

"You cannot delete desktop icons for mounted devices.  Please select an option:
a) Don't show desktop icons for this device anymore
b) Unmount this device
c) Cancel"

This seems both intuitive and helpful, and not rude, which a user interface
should definately not be.  My UI shouldn't insult me, even if I do something stupid.
Comment 23 Sebastien Bacher 2005-03-20 00:01:09 UTC
*** Bug 170501 has been marked as a duplicate of this bug. ***
Comment 24 Jason H. 2005-03-28 16:25:17 UTC
Okay, I've been watching this long enough, and feel the need to make a comment.

Logical Theory:
The interface should be kept as simple as possible, there shouldn't be buttons
and gegaws in places where buttons, gegaws, widgets and resizable-cross
application dockable-toolbars don't need to be. For this reason, there should
only be one correct way to eject a volume.

Optionally, you can add an applet to a pannel that makes it a teeny bit simpler.

Reality:
There is more than one way to delete a file in gnome, in fact, off the top of my
head, I can think of three. Right click, delete, drag to trash, and file>
delete. Now, how would you react, if you dragged a file to the trash (a very
common operation), and the trashcan either did nothing, or prompted you to right
click on the file and press delete?

You'd be a bit irritated.

There are very, very few things I could possibly mean when I drag a file to the
trash, but aside from the obvious "move to .Trash", I could also mean "delete
using /usr/sbin/shred" or "delete by moving the file to /dev/null" or "delete
now, permanantly, without prompting". Except, the de-facto standard is, that I
want to move the file to the trash, so this is what's done.

Solution:

Keep the Right-click, eject menu, as is common to windows. Add the alternate,
non-intrusive, easily implemented, unlikely to add any real bloat option (and
well-known [albeit frustrating to new users when it's the ONLY option] method of
ejecting the drive).
Comment 25 Corey Burger 2005-07-03 17:37:04 UTC
I just had dicussion with Seb about this, and I still don't understand why this
behaviour still exists. Basically, the computer is insulting the user and I
suspect a common reaction to this would be for the user to say "Screw it" and
rip the usb drive out, which is far worse.
Comment 26 Alan Horkan 2005-07-03 18:00:08 UTC
I think at this stage we can agree the error dialog is anappropriate.  
I'd like to just give users what they want but make sure to provide other ways
to eject things so we are not forced to advertise this as the main way of doing
it.  
Alternatively if you really do not want to give users what they are asking for I
think instead you could change the drag and drop behaviour so that there is a
clear visual indication they are not allowed drop the file there and if they do
bounce it back to where it came from.   


The Eject functionality definately needs to be accessible from somewhere else
other than the context menu, as pointed out earlier by the One button mouse user.  
I don't like the idea of adding a permanent Nautilus menu item for ejecting
things and I like the idea of dynamically adding menu items even less.  I think
the Properties dialog might be a good place to provide access to this kind of
highly context specific functionality.  How about it?  

For what it is worth i never unmount my USB drives, never ever.  I always make
sure file transfers are complete (which is I believe the only reason for the
warnings anyway) and usually remove the disk as I log out (and usually after I
log out, but a reminder at log out about any mounted disks might help people
like me who unintentionally leave CDs in the drive).  
Comment 27 Rodd Clarkson 2005-07-03 22:46:19 UTC
Of course, we could do what OS X does and the minute someone starts to drag a
'mounted drive' turn the trash can into an eject object.

Or have they got a patent on this?
Comment 28 Alan Horkan 2005-07-04 15:35:08 UTC
Rodd could you post a small screenshot or two illustrating this behaviour?  I
don't use Macs very often and am not familiar with it.  

We are not lawyers.  Just code it.  
I think we need a something like --no-patents configure option so that
developers can be allowed to do what they do best otherwise we will be allowing
American Patent law to cripple Free Software development everywhere.  
Comment 29 Rodd Clarkson 2005-07-04 21:08:45 UTC
Ah, I'm no mac user either and wouldn't know how to take a screen shot on mac to
save myself.

Basically, what I remember happening is that when you grap a mounted drive on
the desktop, the trash icon turns to a eject icon so that you know you can't
trash the drive, but safely unmount it instead.

Is this enough information?
Comment 30 Dennis Cranston 2005-07-12 20:32:38 UTC
FYI, a patch was proposed and rejected in bug 154283.
Comment 31 Hubert Figuiere (:hub) 2005-07-12 20:46:48 UTC
What's wrong with the feature ? 
Comment 32 Calum Benson 2005-07-13 12:20:03 UTC
Created attachment 49085 [details]
Regular trashcan icon on OSX dock
Comment 33 Calum Benson 2005-07-13 12:21:05 UTC
Created attachment 49086 [details]
Trashcan changing to Eject icon as a volume icon is dragged towards it
Comment 34 Christian Neumair 2005-07-13 12:27:17 UTC
Calum: Alex thinks this is stupid [1], so I don't think this feature will ever
be be included.

[1] http://mail.gnome.org/archives/nautilus-list/2005-July/msg00159.html
Comment 35 Alan Horkan 2005-07-13 12:57:17 UTC
I've tried to be polite but the dialog is pure *crack* 

Give the user what they want or do not.  

The dialog is just insulting.  It tells the users we know exactly what you want
but we are going to waste your time telling you we wont do it.  

Comment 36 Rodd Clarkson 2005-07-13 13:59:14 UTC
Alan, well said.

+1
Comment 37 Hubert Figuiere (:hub) 2005-07-13 14:09:14 UTC
+ 1, I agree with Alan.
Comment 38 Michaël Arnauts 2005-07-13 14:13:52 UTC
I also agree what Alan says, we know that the user wants to unmount the drive
(and the user is probably from OS X), so the least we could do is to just do
what the user wants (unmount the drive).

It's like those annoying meaningless dialogs you see popping up on some
operating systems ("are you really sure you want to do blablabla"), it's useless.
Comment 39 Sebastien Bacher 2005-07-13 14:32:23 UTC
is ignoring an action a good user experience? Alex statued than he's not going
to change to eject a volume with a drag and drop to the trash, so the choice is
between doing nothing and just ignoring the user action, which gives the feeling
the action is broken, or displaying a message of what is going on ... you guys
prefer to just ignore the user action?
Comment 40 Christian Neumair 2005-07-13 14:46:46 UTC
Sebastien: It is quiet obvious that the comments are meant to convince Alex. But
since this kind of decision is not democratic, even +G_MAXINT won't help here.
Comment 41 Christian Neumair 2005-07-13 14:50:49 UTC
...but what I still don't get is why we "educate" users, i.e. what the advantage
of the current solution over just unmounting is: If the feature is - which
according to Alex is the case - not discoverable, no user will ever use it,
except for former Mac users, which expect that unmounting works. I could point
you to a radio interview where an usability expert from openusability.org over
and over praises this feature (Sven from GIMP sitting next to her). Anyway, it's
up to Alex.
Comment 42 Hubert Figuiere (:hub) 2005-07-13 15:05:22 UTC
The problem is that usually, it ends up as "please provide a patch". In that
case, it even a patch that has been rejected for the sole reason the maintainer
do not like it.

Fundamental question: is Nautilus developped for the sole maintainer use, or for
the whole use base ? In case 1, fine, it is your call Alex. In case 2, then you
should listen to users, and when a patch is offered, not reject it.

As an AbiWord maintainer, I can say that some feature decisions have been
painful, but we ended up doing doing because this is "What users want".
Comment 43 Mantas Kriaučiūnas 2005-07-14 09:22:36 UTC
Hi,

 I see at least 2 big problems with nautilus.

 First (and I think main) problem is, that in nautilus often there are no place
for users opinion, if users opinion is different from Alex Larson oppinion.
Nautilus got a lot of bugreports, where users say "this is not user-friendly,
please change this" or "nautilus really needs this useful feature, please add
this", but lots such bugs are closed as wontfix and even patches from other
developers are not accepted (look for example bugs #165266 , #142553 , #99921 ,
#144481 , #119991 , #307013, #305266 , #302044) :(
Could such way we name open source way? I think no, at least this is not good
for community-based projects, like GNOME. Alex is dictator, but, I think, he
should be democratic president if GNOME and Nautilus are community (not redhat's
or alex) projects.
Because of this problem there are other projects for replacing nautilus in
GNOME, look for example at velocity project:
http://velocity.gnomeuser.org/index.php?page=2 - velocity goals are same like
nautilus goals in eazel times (version 1.x)...

 Second problem is, that nautilus developers often doesn't care about
compatibility with older version of nautilus, not talking about compatibility
with other similar software.
For example nautilus default behaviour always was non-spatial (was
navigational), but when nautilus developers decided to implement a spatial mode
(in nautilus 2.6) it was set to default, even in upgrades, when user used
nautilus in navigational mode and there was no posibility for most users to turn
off irritating (for most old mode users) spatial mode. Some from nautilus
developers told, that there are posibility to turn off spatial mode with
gconf-editor, but I know no user (my job is Linux and other free Desktop
software, like OpenOffice support), which know what is gconf-editor and how to
work with it. After nautilus 2.6 was released I got a lots of support cals -
lots of users asked "Why after upgrade to version 2.6 GNOME started to behave
completelly different than all previous 2.4 versions?", "How to downgrade GNOME,
I can't work with hundreds of windows".
Another example is dragging files with right mouse button - in some nautilus
version this ability just dissapers without any notice how to copy/move/create
link, when user tries to do this with right mouse button.
One more example is access to removable and other drives (mouting/unmouting) -
in all nautilus versions until nautilus 2.5 there was only one way to access
removable ant other user-mountable driver(partitions) - there was "Discs"
submenu in desktop context menu. After nautilus 2.6 was released this submenu
simply dissapeared without any usable help for existing users how to access
removable and other drives (look at bug #137304 and lots of duplicates). Even in
development version (2.5) users noticed this bug and reported: "Discs menu gone
from desktop context menu - I can't mount discs from nautilus desktop menu
anymore. On nautilus 2.4 mounting any disc is 2 clicks away, on 2.5 is burried I
don't know where." :( But, it seems, nautilus developers don't care about
existing users experience and decided simply remove the way, which all users
used 4 years :((

Talking about this bug (umount problem) I think the main problem is, that now is
only one way to unmount volume - right click on it and select "Unmount" from
context menu. But right click isn't intuitive and lots of simple users never use
right click. Please read comments #13 and #22 from this bug. I think at least
dialog "You cannot delete desktop icons for mounted devices.  Do you wan't to
unmount (eject) this device?" with 2 buttons "Cancel" and "Eject (Umount)"
should replace current Error message.

Btw, I'm nor Mac OS, nor Windows user (I used Mac OS 9 only few days about 3-4
years ago), I'm Linux user since 1999, but I'm really missing on unmounting
feature without right click. I saw, that Windows XP has ability to umount
removable usb storage drives (disks, etc) without right click - user inserts usb
drive, copies some files into it and when files are really written from memory
cache to usb drive, then small icon, with tooltip "Safetely remove drive",
appeares in notification area (in bottom right, near the clock). When user click
on this icon then list of drives to unmount appears and user can click on needed
to unmount drive. This is more user-friendly than current GNOME behaviour.
Comment 44 Christian Neumair 2005-07-14 10:29:38 UTC
On your rant, I think your aggro is only partially comprehensible. Let's break
this down a bit:

> lots such bugs are closed as wontfix and even patches from other
> developers are not accepted (look for example bugs
> bug 165266, bug 142553, bug 99921, bug 144481, bug 119991, bug 307013, bug
305266, bug 302044

Most of these were actually closed for good reasons. Changing the note sidepane
when hovering is a cracky idea, for instance. Others were closed although we can
do something about it. I've reopened those.

> For example nautilus default behaviour always was non-spatial (was
> navigational), but when nautilus developers decided to implement a spatial mode
> (in nautilus 2.6) it was set to default, even in upgrades, when user used
> nautilus in navigational mode and there was no posibility for most users to turn
> off irritating (for most old mode users) spatial mode.

> Another example is dragging files with right mouse button - in some nautilus
> version this ability just dissapers without any notice how to copy/move/create
> link, when user tries to do this with right mouse button.

It disappeared for good reasons (cf. bug 144481). Sometimes users just have to
find out what changed on their own or read the release notes. We just don't have
the ressources to integrate a "what changed" tour in every minor. Would be a
nice idea.

> One more example is access to removable and other drives (mouting/unmouting)
> in all nautilus versions until nautilus 2.5 there was only one way to access
> removable ant other user-mountable driver(partitions) - there was "Discs"
> submenu in desktop context menu.

in my opinion the concept we now have is way more obvious. Changes sometimes
hurt. If we kept what we had in 2.0 because we fear UI changes we'd still be
stuck with a buggy and unusable file manager.

>Talking about this bug (umount problem) I think the main problem is, that now is
> only one way to unmount volume - right click on it and select "Unmount" from
> context menu.

We've all made our suggestions. Almost all of us agree that if we already KNOW
what the user is trying to do it is totally CRACK to tell him how to achieve
this, just forcing him to do 3 more mouse clicks if it could be done directly.

Anyway, it's really Alex's decission.
From comment 42:
> this is "What users want".
Comment 45 Christian Neumair 2005-07-14 10:37:07 UTC
> For example nautilus default behaviour always was non-spatial (was
> navigational), but when nautilus developers decided to implement a spatial mode
> (in nautilus 2.6) it was set to default, even in upgrades, when user used
> nautilus in navigational mode and there was no posibility for most users to turn
> off irritating (for most old mode users) spatial mode.

Yes, this was a huge mistake. The people who were in charge explicitly regretted
this wrong decision.
Comment 46 Sebastien Bacher 2005-07-14 10:41:59 UTC
Such rants usual have not other effect that discouraging the maintainers to work
on the code, that has already be stated by many people. Whatever you do some
users are not happy, that's really not funny. Go somewhere else for that please,
bugzilla is not the right place.
Comment 47 Alan Horkan 2005-08-01 15:43:17 UTC
Tweaked summary to make report bug easier to find.  
Comment 48 Rodney Dawes 2005-08-01 17:33:55 UTC
Created attachment 50086 [details] [review]
Patch against HEAD to unmount/eject when dragging to trash

Here is a patch that applies to HEAD nautilus to just eject or unmount volumes
when they are dragged to the trash icon on the desktop.
Comment 49 Christian Neumair 2005-08-01 19:15:12 UTC
Rodney: I've provided a similar patch which was rejected by Alex (cf. comment 34).
Comment 50 Christian Neumair 2005-08-01 19:35:50 UTC
http://www.gopetition.co.uk/online/6908.html

Just for fun.
Comment 51 Christian Neumair 2005-08-01 19:41:55 UTC
Just for your information, [1] contains the original patch which also changes
some other rejected (for good reasons) bits. Also, mine sucks because it doesn't
special-case the ejection case.

[1] http://mail.gnome.org/archives/nautilus-list/2005-July/msg00150.html 
Comment 52 Snark 2005-08-01 20:25:36 UTC
Why not put a message dialog "Uh... you're not supposed to delete a volume ;
perha ps you wanted to eject?" ; with two choices: Cancel and Eject?

That way the user is both warned that what (s)he asked isn't really logical, but
has what (s)he want.
Comment 53 Lionel Dricot 2005-08-01 21:33:38 UTC
I know that nobody cares about what I'm thinking, but anyway...

I think that the "drag to the trash to eject" is just as non-intuitive as the
"click on start to shutdown" from windows.
Besides the "cool-it-s-just-like-a-mac" behaviour, I don't see any reason to
implement this. It's just.. well.. so awful !

Please, we are not all mac groupies !

Take an average newbie and try to explain him that the trash delete a file but
eject a device !   The same action on the same location does two differents
things !!!!  It's so awful !

I think that the dialog must be :
- "This files cannot be erased" (just like when you have no rights on the file)
for non-erasable medias.
- "Are you sure you want to format this device ? All datas on this device will
be lost."  for writable medias.

But please, don't take bad things in Mac.  Or I begin a petition to rename
"applications" menu in "start" menu.


Snark : I like your idea of the dialog. Why not stronger ? "Have you see an
apple ? No ?  So this is not a macintosh dummy !"  ;-)
Comment 54 Rodney Dawes 2005-08-01 22:48:08 UTC
Snark: Why put a dialog up for the user to confirm what they obviously want to
do with it?

Lionel: It is not cool because Mac does it. It will however, allow Mac users to
transition to the environment more easily. If you don't like it, then don't use
it. It's not going to affect you, because you don't use it anyway. And it does
the same action on both files and devices. The only difference is that it does
not keep an icon inside the trash to re-mount the device. Why would you expect
it to do something different? When you drag a file to the trash, it does not
erase the contents of the file, leaving 0 byte files around. It doesn't empty
the file. It removes it. Likewise, it would remove the device from the system.
In order to regain access to the device, you would have to insert or mount it
again. In order to regain access to a file, you have to create it again. It's
not really logically any different. It's not a bad thing from Mac. It is how Mac
works for ejecting devices. There's no real usability reason to not support it.
Comment 55 Paul Bolle 2005-08-01 22:59:45 UTC
0) My € 0.02 on today's most popular bug.

1) I'm inclined to think that drag and drop to eject/unmount is rather
non-intuitive.

2) However, even if it's decided to keep disallowing "drag and drop to trash to
eject CD" (and friends) there seems to be no need to do anything at all. Drag
and drop the "Computer" or "User's Home" icons doesn't do anything either. So
there might not be needed a dialog here at all. The message seems to be clear
enough without dialog: that action is not possible.

3) But couldn't we just add a little "sub-icon" to the icons for removable
media? A small eject button (say: in the lower left corner) for CD's and DVD's
and something hinting on unmounting (for things like USB drivers etc; maybe
something looking like the offline/online buttons in Evolution). Clicking that
"sub-icon" will eject that CD/DVD or unmount that volume, etc.
Comment 56 Chris Murphy 2005-08-02 00:39:44 UTC
I am a big fan of having some sort of simpler motion to unmount volumes... As a
user with a laptop having only one USB port, and one who tries to use gnome-vfs
to mount files from his desktop fairly regularly, it would be very nice to have
a more fluid motion to perform a common task.  I don't disagree that 'dragging
to trash' is unintuitive, but considering the only two things I really want to
do with those icons are either open or unmount (and one requires 2-Clicking, and
one requires right-clicking, following the menu down, and finding unmount) it
would be nice to speed up the process.

Additionally, I can trash talks macs as much as the next guy, but I think some
of the 'trash is unintuitive' comments have less weight now that the icon
changes after you start dragging an icon.  This from somebody who's never owned
a mac, nor intends to.
Comment 57 Amadeus 2005-08-02 01:09:13 UTC
I wish I could find the website called something like "Macintosh big mistakes",
but I can't find it now.

About the trashcan it said something like:

Having just written a long essay and saved it on the floppy disk. Not knowing
how to get the disk out, putting your entire essay in the trashcan is no way
near in your interest, or a risk your are willing to take.

The website suggested an eject icon in the toolbar when a removable media was
inserted.

So way not make a Gnome Panel applet like the Notification Area, but with eject
icons for CD's, DVD's, Cameras, etc. ?

And dragging to the trashcan should have no effect at all.
Comment 58 Behdad Esfahbod 2005-08-02 03:16:08 UTC
The current implementation is in violation of the GNOME HIG guidelines under
Chapter 10 User Input, Mouse Interaction:

  * Do not depend on input from the middle or right mouse buttons. As well as
being physically more difficult to click, some pointing devices and many
assistive technology devices only support or emulate the left mouse button. Some
assistive technologies may noteven emulate the mouse at all, but generate
keyboard events instead.
Comment 59 Sven Herzberg 2005-08-02 08:50:28 UTC
Well, I think the current implementation is working quite well (even mac users
can open the context menu without the right mouse button, just press Shift-F10),
but the Drag'n'Drop thing would be great. Maybe we could go the OS X way to
change the trash icon for an eject icon once one starts to drag a volume.
Comment 60 Bram van Leur 2005-08-02 10:10:28 UTC
When I drag an erasable medium (like a CD-RW) to the Trash I expect its contents
to be trashed (since I can understand my disc won't disappear at all from my
drive). Making CD-ROMs behave differently than CD-RWs makes no sense so the
current behavior is sort-of okay (We could skip the message asking to delete it
if we can figure out that is impossible too).

To comply with the HIG as stated in #58, I feel like dragging to the Trash is to
unintuitive anyway so there should be at least one other way to unmount things
easily.
Comment 61 Karel Demeyer 2005-08-02 11:21:42 UTC
What about using dragging to the trashcan for formatting ?  This seems so much
more the "right thing" to do on that action.  Also, formatting some media (like
USB pen) isn't an easy to do task right now.
Comment 62 Alan Horkan 2005-08-02 12:32:51 UTC
> I think the current implementation is working quite well

I dont think this is working well at all.  
There is another bug report about Eject using single button mouse on the Mac.   
Shift F10 or even Ctrl+Click are workarounds and still fail to make things more
easily discoverable.  A more direct way to eject is needed, even if it is not
necessarily the Trash to Eject method suggested here.  I wish there was a
suitable place to put an Eject menu item someone under Computer/Places or
something like that.  

> What about using dragging to the trashcan for formatting ?

There is was different bug report already requesting that.  It is a worse
suggestion than using Trash to Eject because not only is it non-intuitive,
undiscoverable but it is also inconsistent and defies user expectations (and
would probably require another dialog asking annoying questions).  
Comment 63 Amadeus 2005-08-02 12:37:55 UTC
Please consider an eject icon in the "Notification Area Applet".

I think it is as intuitive as it can get.
Comment 64 Rodney Dawes 2005-08-02 12:56:11 UTC
I don't see why everyone complains that dragging to Trash does something
different, and then actively suggests that it SHOULD do something different,
than dragging normal files to Trash. Dragging a file to Trash does NOT "format"
the file, and leave empty 0 byte files behind. Why should it do that for
volumes? Dragging a folder does delete all of the files in the folder, but
volumes aren't folders.

As for the suggestions for the "notification area applet" stuff, there is
already a disk mounts panel applet. Why should there be yet another one for
shoving in the notification area?

THe current situation does not work well for Mac users at all. We don't do
Control+Click, or Click+Hold to pop up the menu. And, Mac users do not tend to
do that anyway.

And, the current behavior does not depend on the mouse. In fact, that little bit
out of the HIG is pretty much totally ignorable, in terms of a11y. In terms of
discoverability though, it makes some sense. GTK+ itself allows you to access
the right-click menu without a mouse. However, that does not make it
discoverable or intuitive. Not that dragging volumes to trash is either, but it
is what some percentage of our userbase expects.
Comment 65 Mark Nelson 2005-08-02 15:52:58 UTC
As someone else said, my opinion on this probably doesn't matter that much, but
here goes.

I think both the way the old Macs handled this and the new way that Macs handle
this is broken.  That's not to say it isn't convenient, especially once you
understand the nuances of what is going on.  The problem is that it doesn't make
any sense until you "get it".  Why would you want to put your USB stick or your
CD in the trash?  For OSX, Why does the trash magically change to an eject
button?  What would make you think that it would be a good idea to do in the
first place to even make the eject icon appear?

Having said that, I can see why people want it.  It's a fast and relatively
simple way to accomplish what you want.  It just doesn't make any sense.

So far, I like the idea of having something like a panel applet show an "Eject"
or "Disconnect" button or text whenever a CD or umountable device is highlighted
best.  I actually think it would really neat to have an area on the desktop that
is devoted to showing metadata about the currently selected item and provide
functionality related to it (like ejecting it), but that might be getting ahead
of ourselves.  For now perhaps the applet.

Nite_Hawk



Nite_Hawk
Comment 66 Rodd Clarkson 2005-08-03 07:05:06 UTC
Okay, this is my bug.  I filed it and as such I'm going to take a few liberties
with it.  If people don't like that then complain. ;-]

I really like the idea of having a eject icon in the notification area (or
somewhere on the panel)  In fact, given that there's some talk of making the
panel one big notification area, this seems like a great place to handle this. 
The trash icon can now be placed on the panel (and hopefully some time soon, it
won't have to be on the desktop).

I'm going to back calls for an icon on the panel that appears when you
click-n-hold umountable media, with a few changes.

The icon should be visible all the time and should be greyed out unless a
umountable drive icon is clicked-n-held (by the I mean, in a state where it can
be dragged).  In this case, the icon should pulse, throb, jump or whatever to
indicate that the folder in question can be unmounted and that this would be the
place to drag it to do this.

This option seems very intuitive to me.

As for the dialog that appears when you drag a folder to the trash.  Well either
highlight the 'eject feature' if active, prompt for the eject feature to be
added if it's not on the panel or ignore the attempt all together.

This icon would however need to become a default on the gnome desktop to make it
accessible.

A similar (non default) feature could be added that would allow users to format
devices.
Comment 67 Mantas Kriaučiūnas 2005-08-04 23:30:52 UTC
I aggree, that GNOME needs an icon (in notification area), that helps to eject
(umount) mounted media more intuitive and easier by default. It would be very
nice to have this usability improvement ASAP. Is this feature too late for 2.12
or not?
Comment 68 Sven Herzberg 2005-08-05 12:55:04 UTC
An what if we'd modify the trash-applet to behave like the OS X trash in the panel?
Comment 69 Calum Benson 2005-08-05 16:23:37 UTC
Either that or just have a separate "unmount" applet that you could drag things
onto (or click).  I'd be against using the notification area though--
notification icons aren't normally drag targets, they should never be 'greyed
out', and usually the only thing they should do if you click them is pop up a
menu or open a window (depending on which button you use).
Comment 70 Amadeus 2005-08-05 16:39:27 UTC
I see two possible solusions:

(a) Drag and Drop. One eject icon in the Notification Area that ejects anything
that is dragged to it. E.g. disk, cd, dvd, memory stick, etc.

(b) No drag and drop. The Notification Area gets a "CD eject" icon when a CD is
inserted etc.

Which method are we talking about?
Comment 71 Hubert Figuiere (:hub) 2005-08-05 16:41:12 UTC
Not to start a flamewar, but a new applet is 

1/ confusing for the user
2/ not going into the direction of running GNOME in less hardware resources.
Comment 72 Rodd Clarkson 2005-08-05 21:50:28 UTC
Hubert,

While I'm not usually into add stuff for the sake of adding stuff, I think this
applet adds usability to gnome that it doesn't already have.  It would solve the
problem of people wanting to use the Trash to umount filesystems.

I also don't think it's that confusing for the users.  Having an icon on the
panel show that you can umount by draging the mounted filesystem to this icon
solves a lot of issues with regard to mounting.  The applet could also be
designed so that if you click it, it would show all the umountable filesystems
and the user could select the file system from the list (instead of dragging and
dropping).

As pointed out in the discussion of this, Gnome is not currently HIG for this
since you need to use the context menus to umount filesystems.  This makes it
awkward for our one toed mouse user amoungst others.

At the moment, we've got this system where you can mount media simply by putting
it in a drive, or plugging it into a USB socket, or whatever.  The system
detects the media and mounts it.  That's some serious overhead, but I wouldn't
want to go back to the dark old days of having to mount media after insterting
it.  Sadly, to umount the media, you have to go back to those dark old days,
fishing around in context menus.  While the context menu works, it's not exactly
intuitive.

Gnome needs something that allows the user to umount any device with the same
simplicity that they mounted it with, and adding a icon to the panel to achieve
this would be minimal overhead in comparison to the auto-mounting we've already got.

I actually agree that the trash isn't the right place to be dragging media to
umount it (it's unclear what action this might have on the files) but it's
pretty  clear that users want to be able to drag it to somewhere.

Comment 73 Rodd Clarkson 2005-08-05 21:56:32 UTC
Calum,

My print icon in the notification area greys out when the printing is finished.
 I love that, because it saves me having to check to see if a long document it
printed.  In the same way, having a greyed out icon in the notification area
that comes to life when umounting is possible seems very intuitive.  Maybe just
having soming pop into the notification area would be enough, but it would limit
being able to umount devices from the icon.

Or maybe we shouldn't think about it greying out.

Maybe what should happen is when you insert media (or mount something in
computer) the icon appears in the notification area.  It's active in the sense
that you can click on it to see any umountable devices (if you've mounted other
things since) and then click on the device to umount it.  If you start dragging
a umountable device, the notification area icon would start doing a little
'drag-here-to-umount-the-device' dance to let users no that this is possible. 
If a second device is mounted, then the icon should do a little flicker or
something to say that it's been added to the list.

This would be consistent with notification area icons and wouldn't involve
greying out.  It would also serve to make the user aware that the icon in the
notication area has something to do with the media they just mounted, and the
icon should be able to make it pretty clear (along with the tool tip) that this
is where you can umount stuff.

This seems pretty intuitive to me and I think it would really enhance this area
of gnome.
Comment 74 Hubert Figuiere (:hub) 2005-08-05 22:00:18 UTC
well, an applet would be overkill for that I maintain.

There are a lot of solutions.

-Drag to Trash. believe it or not. like it or not. It works on Mac since 1984,
and nobody seems to complain, but a few person here. The fact that the trash
icon change shape helps.
-add a menu item to Nautilus, at least in the "computer" window. This one is
trivial as we already have the contextual menu
-Add an eject button in the "Computer" window, if a volume that can be ejected
is selected

These last 2 might not work on Ubuntu, but after all they alter the behaviour,
so it is not GNOME's problem.

-the idea of adding a little eject gadget to the icon is not bad, but might not
be the solution as it can be confusing because you can select clicking the icon.
Might be "dangerous". Not my favourite.

-add a little gadget on the "Favorite" next to the media, since they are in
here, now that Nautilus integrate it. MacOS X does that, and it is convenient.
Comment 75 Hubert Figuiere (:hub) 2005-08-06 04:31:26 UTC
Created attachment 50306 [details]
mockup to show a way to do unmount

This is a mockup that show where to put the little eject button. At least that
one would make sense. MacOS X does that too.
Comment 76 Rodd Clarkson 2005-08-06 06:29:48 UTC
Okay, that's a nice idea, but gnome uses the spacial mode for file management.

How about a mock up explaining how you think Gnome should handle umounts in
spacial mode?
Comment 77 Christian Neumair 2005-08-06 08:12:09 UTC
Rodd: What about adding this functionality to the panel "Places" menu?
Comment 78 Julian Turner 2005-08-06 15:24:26 UTC
Created attachment 50318 [details]
Eject in Places menu (mockup)

I made a mockup of an eject button in the places menu. Obviously, such a button
would be beside every removablr storage device entry.
Comment 79 Julian Turner 2005-08-06 15:24:37 UTC
Created attachment 50319 [details]
Eject in Places menu (mockup)

I made a mockup of an eject button in the places menu. Obviously, such a button
would be beside every removable storage device entry.
Comment 80 Amadeus 2005-08-06 15:46:03 UTC
To #78 Julian.

You can't have a button on a menu entry.

That would require the entire GTK toolkit to be reworked, so pressing ont he
left side og the menu "opens" and the right side of the menu "ejects".

The "Places menu" is note suited to an eject entry. Look at the other entries in
that menu.

Besides having an Eject in "Places" is just as bad, if not worse, than having to
right click.
Comment 81 Amadeus 2005-08-07 16:27:55 UTC
Created attachment 50345 [details]
A mock up of a CD Eject button in the Notification Area.
Comment 82 Rodd Clarkson 2005-08-07 22:33:55 UTC
Manny, I think Martin is right.  While it might be nice to include eject
functionality in the Places menu, it's only one step better than having to right
click the icon.  (Well actually, it's two steps better, because places is always
visible, where as the icon could well be covered with applications)

I'm still tending toward using the notification area, however, I'm not sure
you'd want to have an icon for each mount.  How about an icon that shows you can
eject, and which when left clicked shows a list of mounts that can be umounted.

I'll attach (my turn at) a mock-up to show you what I'm thinking.
Comment 83 Rodd Clarkson 2005-08-07 22:35:53 UTC
Created attachment 50361 [details]
Sample of how an eject button could be implemented in the notification area.

The users could either click on the icon (and get a list of umountable media)
or drag a umountable folder to the icon.
Comment 84 Amadeus 2005-08-07 22:53:19 UTC
To #83 Rodd.

That is not a bad idea at all, thought I see advantages and disadvantages in
both your method and my method.

One eject icon for every media:
+ One click eject.
+ The user sees a new icon in the Notification Areal when a media is inserted,
and will from that, relate this eject icon to the media just inserted.
- The icons can be hard to make out what they picture. Atleast in my muck up.

One eject icon for all media:
+ Clear indication that this icon ejects something.
- Two clicks are required.
- The user doesn't see a change when a new media is inserted.


Comment 85 Rodd Clarkson 2005-08-07 23:16:59 UTC
Martin,

One other disadvantage to the icon per media idea is that people with lots of
media would end up with a very full notification area.  In my last job, I had
about 10 mounts and while I didn't always use them all, I would often find at
the end of the day that I had.  That's a lot of icons to have in the
notification area.

Also, another problem (as I'm thinking about it) is how would you tell the
difference between two diffent USB keys, or 2 CD's?  I guess you could use tool
tips, but tool tips can be a little slow.

On the single icon side of the equation, you could easily have the icon jiggle,
dance, or throb to show that it's been updated with the new mount.

Comment 86 Jason H. 2005-08-08 00:42:09 UTC
What about network mounts? I use a lot of those throughout the day (and kind of
wish they wouldn't stay on my desktop, but that's another bug).

It would probably not be appropriate to have a notification icon for each
network mount because of that. Seeing as how network mounts don't go away unless
the user explicitly removes them, there'd be a bolted-in notification icon.

Perhaps the places or destkop submenu would make more sense? It probably
wouldn't require a patch against GTK+ either.

Also, the trash-eject error is just awful. Either:
1) Just eject.
2) Die. (Do nothing)

It's about as bad as the damn paperclip correcting you mid sentice about
gramamr. "I see you don't know how to type in english, you should type in
espanol instead."
Comment 87 Amadeus 2005-08-08 10:49:36 UTC
To #85 Rodd.

I see your points regarding "One eject per media". It is likely that you can
convince me to support "One eject for all media", but that depends on Gnome's
taget group; power users or regular users?

Regular users have at most 3 media mounts at a time would I assume(I only have
1). And they would therefore be better off with the "One eject per media"
solution, using tooltips as you described for indication.

Power users have many media mounts, and "One eject for all media" would properly
be a better/faster solution for them. But I would clame that power users have
corresponding larger monitors than regular users, and therefore have the
horizontal space required.

By using the last argument, the "One eject per media" have that advantage, that
it will work for both power users and regular users.

For me it basically boils down to, what taget group Gnome is for.
Comment 88 James William Dumay 2005-08-08 13:07:36 UTC
Here is some *working* code ive had for about a year and a half now to do DnD
Eject using nautilus. Patches extend eel and nautilus so that draging any
volume/device to the trash from any location (computer:, desktop:, etc) will
eject the device using gnome-vfs.

Ive been using this code personally all this time, so you can consider it well
tested.
Comment 89 James William Dumay 2005-08-08 13:08:50 UTC
Created attachment 50390 [details]
nautilus DND eject against CVS HEAD 20050808

nautilus DND eject against CVS HEAD 20050808
has patch for eel HEAD too.
Comment 90 Calum Benson 2005-08-08 15:53:52 UTC
Rodd:

> My print icon in the notification area greys out when the printing is finished.
> I love that, because it saves me having to check to see if a long document it
> printed. 

Showing the status of a print job is good use of the notification area, but I
would maintain that the icon shouldn't grey out :) I would say it should appear
when you start printing, and perhaps acquire a 'tick' emblem or something for
some period of time (or perhaps until you click it) after printing is complete,
and then just silently disappear again.
Comment 91 Calum Benson 2005-08-08 16:09:57 UTC
In other words, the notification area is a place to inform the user of events
that have happened or are happening, not a place where they can choose what to
do next (except, perhaps, in direct response to one of those events).  So I'm
still not convinced that the notification area, in its current form, would be
the place for an unmount gizmo.

FWIW, OSX also just has a "File->Eject <volumename>" menu item on every spatial
window in which you're looking at the contents of a folder on a mounted volume.
 That would at least get around the non-HIGness of the current right-click-only
solution...
Comment 92 Rodd Clarkson 2005-08-08 21:38:07 UTC
Calum,

You're probably right about the printer icon.  I'm not sure why it greys out
instead of disappearing after the print jobs are finished, but disappearing
might be just as appropriate.  Someone might need to ask the eggcups guys the
why of that.

As for:

> OSX also just has a "File->Eject <volumename>" menu item on every spatial
> window in which you're looking at the contents of a folder on a mounted
> volume. That would at least get around the non-HIGness of the current 
> right-click-only solution...

While this would be a nice start, I would like to think we can do better than
Apple and OS X (because we can).

While I think the current behaviour or telling people you can't umount dragging
to the trash is busted, I also think dragging to the trash to umount is busted.
 I was willing to put up with the behaviour because some people think this is
appropriate (and it's better then saying, I know what you want to do, but you
can't) but dragging a folder to the trash is ambiguous and makes you wonder if
the folder will be deleted, or umounted (because Mac users expect this) and
that's not great UI.

Changing the trash icon to reflect a mount is better, but not a lot.  It's
unexpected behaviour.  Something that does one thing suddenly does another
thing, but only if you do the right things to find it out.  It's all a bit trial
and error.

Having something in the menus is a nice start (getting back to you recent
comment), but why not have some nice graphical way to show that having mounted
something so easily, it's equally easy to umount it?

Having an icon appear (or throb if already there) in the notifacation area is a
simple and obvious way to show the user that they've mounted something and this
is how you might umount it.  If there's only a single umount, then you wouldn't
need the list, the button would suffice, and when there is more than one device,
then the list could appear making it clear what you are umounting.

The more I think about this, this really needs to be in the notification area
because it only needs to be visible when something is able to be umounted by the
user.  It's what the notification area was designed for.
Comment 93 Calum Benson 2005-08-09 14:08:15 UTC
Just so we're clear here, I'm totally in favour of trying to do better than OSX
too, and I agree the "don't do that, do this" alert is a nasty piece of work :)
   The menu suggestion was just an idea for getting past the HIG non-conformity,
so we can focus on more novel solutions. (Of which, sadly, I really have none at
the moment.)

The notification area idea still doesn't sit quite right with me, though... it
sort of works as far as an icon appearing there when you mount a volume
(although it's even arguable whether notifcation icons should be used to notify
the user of something they've just explicitly done themeselves).  But after
that, it's neither going to notify you of anything else (unless you mount
another volume, which again you presumably know you've done anyway), nor monitor
the status of anything for you-- and for a notification icon, that's generally a
sign that it should think about not being there any more.

That said, the HIG guidelines for notification icons are very poor right now,
and need properly finishing, so if there's enough momentum for them to be used
for this sort of thing, we can always consider that when we do so.  Provided we
can define exactly what "this sort of thing" really means :)
Comment 94 Jason H. 2005-08-09 16:52:47 UTC
Hmm, Looking at #83 (I was looking at #81 before), this seems like it'd make sense.

Calum: If you think about it, the notificaion area includes things that are
happening NOW. If it excluded network mounts and non-user mounts, then all of
the mounts listed would be "currently attached" and something the user should be
aware of NOW, since removable media isn't non-user. (So that they're concious of
it.) Perhaps some feedback (a blink or something simpler) to let them know of
new inserted media?

Network mounts would still need to be addressed, and the trash would be a good
way to do that, because you're actually "Deleting" their information, not
"Unmounting" them. Of course, by that logic, it'd make sense to eject that way too.

This would be a lot better than OS X and prevent newer users from being too
confused, killing 4 birds with two stones so to speak.
Comment 95 Calum Benson 2005-08-12 16:59:38 UTC
> If you think about it, the notificaion area includes things that are
> happening NOW.

Yours might, mine doesn't :)  Neither should it, by the HIG's current
definition, except to monitor things that are constantly changing without the
user's intervention (network connection, battery charging etc.)  Other than
that, the notification area exists to tell you about events that have already
happened.  (Printing finished, mail received, updates available, download
completed, whatever.)

But anyway, I don't want to bog things down with a debate about the philosophy
of the notification area, so I'll shut up now and let the rest of the discussion
run its course... if it turns out there's a clear usability reason why the
notification area is the best place for this feature, then I'm sure the HIG team
will accommodate it somewhow :)
Comment 96 Christian Neumair 2005-08-12 17:19:46 UTC
Calum: The problem is that we have no way of adding/removing applets dynamically
at the moment. The eject button is only interesting if any media is in some of
your drives. Therefore, the notification area seems to be the onliest place we
can put this without a completely new applet system.
Comment 97 Rodd Clarkson 2005-08-12 21:54:38 UTC
Giving the idea of an eject option in the menu some more thought...

While it would be useful if you have a spacial window (or windows) open on the
desktop you're on wehn you want to eject the disk, there are plenty of times
when you want to eject and this isn't the case.

Having an icon on the panel (in the notification area, for example) is going to
garantee that regardless of what your desktop looks like (windows everywhere
covering the desktop, including the icon for the mount), or no windows open for
the mount, that you can still simply umount the device.

The solution I'm proposal gives you access to ejecting the driver regardless of
where you're at and it's simple.  You never have to open windows, or access the
desktop to do it, which doesn't mean that these systems couldn't also be
included, just that they have limitations.

(Yeah, I'm spruiking my own idea, but the more I think about it, the more I
begin to really like it as it seems to answer more and more questions).
Comment 98 Jason H. 2005-08-13 03:29:46 UTC
Okay, so unless I'm reading it wrong Rodd, you're in favor of putting an icon in
the notification area? This seems to be a consensus now.

So far we have the pros:
* Dynamic, there when you need it, not when you don't.
* Always reachable (Good for "I need this workstation logout-quick" moments)
* More obvious than Mac OS (X or 9).

And cons:
* Breaks HIG about notification area a little. (See more)

There's worse offences to the notification area than this though. In paticular
Redhat's security thing, and the gaim icons.

As for it displaying things happening now, I was refering to the interaction
guidelines in the HIG about the notification applet. But yes, it does break
quite a few of the "Shoulds and Probablies" in that page.

However, note under the "Icon appearance" section:

* Only core GNOME programs may perpetually display an icon in the status area.
* Non-core programs for which a perpetual icon may be useful must default to not
perpetually showing the icon. Users may select to enable a perpetual icon for
the application as a preference.

So we may be within our rights to do this. Also, consider that this is specific,
as other file managers might have better/worse eject methods. For those, there
is the mount/unmount applet (which probably needs improvement).

Also of concern to me is still eject-to-trash and network mounts. My reasoning
for that (FWIW) is stated above.
Comment 99 Benjamin 2005-08-13 14:55:22 UTC
Hello,

I think this whole bug report is crack. The discussion centres around how to get
media unmounted, when the real question is "How do I get my media out of the
machine?". Now there may be a call for providing a convenient software "eject"
facility if the actual physical eject button is difficult to reach, but in the
general case I think that the eject on the drive itself is the best way to eject
your media. When it comes to USB drives or card readers I think the solution is
simpler again. The user should be able pull their media out directly. I think
the mindset here is focused on how the technology currently works rather than
how the user works.

In my opinion the correct response to this bug is as follows:
1) Mount all removable media sync
Your user will hopefully notice that their write operation isn't finished yet
before pulling out the drive.
2) Gracefully handle unmount of media after it has been removed whenever there
is nothing to flush and no write operation occuring
3) Warn, and allow graceful re-insertion of media that still has write
operations pending
4) For CD-ROMs, don't even bother locking the eject button. Just let the user
press it when they want to get their media out. Let the applications deal with
having their media ripped out prematurely, and make sure they do so in an
appropriate way.

The only reason macs needed the trashcan-as-eject model in the first place is
because they didn't have an eject button on their drives. Someone obviously
thought this was a good idea at the time, but PCs do have the butttons. Someone
obvously decided more buttons are better. So why does the software have to get
involved at all? When there's a real physical button sitting there, why clutter
the graphical user interface?

Benjamin.
Comment 100 Jason H. 2005-08-13 19:08:25 UTC
#99

Not really, the underlying mounting methods are a distribution/kernel level
issue, this has nothing to do with how nautilus should cope with it.

And FWIW, macs do have eject buttons on their CD-Rom drives on most of the
blueish G4's. They don't work for the same core reasons.

Though polling the physical eject button isn't a bad idea, this might not even
be possible either, since most CD-Rom drives don't exactly send anything like
ACPI events for this.
Comment 101 James Henstridge 2005-08-22 10:59:34 UTC
For those wanting a new panel applet or notification icon, have you tried out
the existing disk mounter applet?  The version in Gnome >= 2.10 detects mounted
volumes in the same way as Nautilus, and makes it easy to unmount/eject the
volume or open it in the file manager.
Comment 102 John Nilsson 2005-08-26 06:05:05 UTC
Some thoughts. As #99 pointed out, the fundamental problem is getting stuff into
and out of the computer (on and off the desktop for you tech geeks).

One UI model I could like is to have a window like
http://home.wanadoo.nl/sbm/2005_02_01_mmblogarchive.html#110898103967146210
(I've seen other examples but couldn't find them now). I.e. you drag the mouse
pointer to the edge of the screen(the right I think), as a result this "outside"
window slides in, either covering the desktop (in which case it shouldn't have a
border along the screen edge) or shrinks/displaces the desktop. To mount a drive
simply drag it from this window to the desktop and, similarily, put it back when
you are done.

I think this qualifies as an intuitive use of mount/umount.
Comment 103 Sebastien Bacher 2005-11-13 13:55:19 UTC
*** Bug 321058 has been marked as a duplicate of this bug. ***
Comment 104 Tom Harris 2005-12-09 23:46:54 UTC
I think an icon should be added to the notification area when a user inserts a
usb disk (possibly not CDs as the physical eject button seems to be supported as
a method of unmount, IIRC), and right-clicking it has unmount as an option. As
much as I hate to say it this is how it is done in in Windows (ME, at least),
and will help Windows users in grasping the whole unmount concept, which many
often don't understand. Plus it's nice to be able to always see whether media is
inserted/mounted without cluttering the desktop with icons which often overlay
each other, and having to open Places > Computer. I think that one icon per disk
would be good (as opposed to Windows, which show an eject icon, and a list of
devices when clicked), because it enables a quick and easy was for the user to
see a list of inserted media.
Comment 105 Teppo Turtiainen 2005-12-23 20:34:11 UTC
*** Bug 324685 has been marked as a duplicate of this bug. ***
Comment 106 Jakub 'Livio' Rusinek 2007-11-25 13:16:57 UTC
Next old bug and nothing done... What about "ping!"?
Comment 107 Christopher Yeleighton 2008-03-18 14:31:08 UTC
Ping from Ubuntu
<https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/44413>
Comment 108 Sven Herzberg 2008-03-18 14:46:49 UTC
Is there a patch from Ubuntu? One that adds the requested features? The only patch I can find here is the rejected one for the trash eject.
Comment 109 Christopher Yeleighton 2008-03-18 14:52:18 UTC
Sven! Please visit the link above before asking questions.
Comment 110 Cosimo Cecchi 2008-04-05 12:04:28 UTC
*** Bug 523980 has been marked as a duplicate of this bug. ***
Comment 111 Cosimo Cecchi 2008-04-05 12:18:17 UTC
*** Bug 391525 has been marked as a duplicate of this bug. ***
Comment 112 Jakub 'Livio' Rusinek 2008-04-05 13:41:15 UTC
I have proposal.

When device is dragged on trash, it would change icon to some new "unmount" icon and label to "Unmount" or "Eject".

What do you think? Untuitive and yet innovative :) .
Comment 113 Amadeus 2008-04-05 14:40:22 UTC
It's an interesting idea, but I see two problems:

* According to HIG changing icons is to be avoided.
* The idea of putting something important in the trash, as discussed in this bug.

But you gave me an idea =)

What if a special Eject Icon appears on the desktop when 1 or more devices is connected?

Either the user could drag the device onto the Eject Icon to unmount, or click on it and get a list of possible (and not possible) devices to unmount.

Comment 114 Hubert Figuiere (:hub) 2008-04-05 15:05:40 UTC
(In reply to comment #112)
> I have proposal.
> 
> When device is dragged on trash, it would change icon to some new "unmount"
> icon and label to "Unmount" or "Eject".
> 
> What do you think? Untuitive and yet innovative :) .

That's what MacOS X has been doing for quite a while.
Comment 115 Hubert Figuiere (:hub) 2008-04-05 15:09:48 UTC
(In reply to comment #113)
> It's an interesting idea, but I see two problems:
> 
> * According to HIG changing icons is to be avoided.

G = Guideline. If you solve a problem by not following one, go ahead. That how things evolve.
Comment 116 Jakub 'Livio' Rusinek 2008-04-05 19:25:11 UTC
no, don't touch my desktop... better idea might be tray icon but you might say "don't touch my tray" as I do now...

that's big issue. we need fresh idea.
Comment 117 Rodd Clarkson 2008-04-05 22:31:55 UTC
What if an icon appeared in the notification area when media is mounted?  You could drag the media to this to umount it, and you could also right click the icon and see what media is mounted, umount that media (and possibly open that media too).
Comment 118 Jakub 'Livio' Rusinek 2008-04-06 16:08:16 UTC
tray = notification area
Comment 119 Rodd Clarkson 2008-04-08 08:17:41 UTC
sorry, but that's what the tray is there for, to add applets on the fly that are situaion dependent.  You're attitude is at odds with what the tray is all about.
Comment 120 Uno Engborg 2008-04-08 19:41:12 UTC
At first it sound like a good idea to add such icon. It would be much more visible way of unmounting media. 

However there is a risk that the notification area gets too crowded. Various applications add things here and you could very easily end up havin 10 different icons for various things. I have seen such things on windows.

So, I would say that it is much more important that we make it possible to unmount a volumen the Mac way by dragging it to the Trash, or at least remove the annoying dialog someting like "To unmount use the right menu button". Dialogs like this should NOT appear in a usable system. NOT EVER. It indicates that we anticipated what the user would like to do, but we don't give a damn" This is outright rude. The GUI should help the user perform a task, not teach him to use it the way we want. Not to mention how unhelpful this dialog is to people with just one mouse button.

When that is fixed, by all means add a tray icon, but make sure it can be turned off with a gconf key that leaves it configurable to sysadmins and advanced users.
Comment 121 Olav Vitters 2008-04-08 19:51:41 UTC
Just a friendly reminder that the purpose of Bugzilla is to fix bugs. It isn't good for long discussions, those are best handled via the mailing list. This bugreport is for one specific suggestion. A tray icon would be another bugreport. Comments about a dialog are again another bugreport (IIRC WONTFIX).
Comment 122 Cosimo Cecchi 2009-03-04 14:42:39 UTC
*** Bug 559004 has been marked as a duplicate of this bug. ***
Comment 123 Cosimo Cecchi 2011-09-13 02:34:56 UTC
This is obsolete now, as essentially the shell takes care of showing a message tray icon while there are removable devices connected [1], which in similar in spirit to the point of many commenters in this report.

[1] http://blogs.gnome.org/cosimoc/2011/06/23/hotplug-hotness/