GNOME Bugzilla – Bug 509118
Eject option given on all ready ejected cd drive.
Last modified: 2012-02-28 12:29:17 UTC
Please describe the problem: Originally filed this in fedora bugzilla. Can confirm it in Debian etch so looks like the bug is in gnome. https://bugzilla.redhat.com/show_bug.cgi?id=365081 Description of problem: Eject CD and leave the tray out. Right click on CD drive in nautilus. The eject option is available. It should not be available and should be disabled. Trying to eject an already ejected CD gives this error dialog: Unable to mount media. There is probably no media in the drive. No s*** Sherlock. Version-Release number of selected component (if applicable): 2.18.3 How reproducible: Always Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
I can confirm. This also causes Nautilus (2.24.0) to show the Eject icon for an empty drive which, when clicked, pops up the same confusing error.
The eject icon seems too easily confused with an unmount operation. Obviously you can't unmount a CD that's not mounted (and not even in the drive), but you should be able to eject the drive. Adopting an eject icon for an unmount option (otherwise a sensible option when thinking about other media) seems to be causing issues here.
The eject icon neither ejects nor unmounts. It produces an error. I don't really see why a single icon can't do both (just means clicking twice to unmount, then eject a mounted CD), but right now it doesn't do anything when there is no CD.
"gnome-mount" will not see active development anymore according to its developers (as HAL is also dead). Closing this report as WONTFIX - Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.