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 148186 - Eject on a CD-ROM does not eject anything
Eject on a CD-ROM does not eject anything
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Other
2.9.x
Other Linux
: High normal
: ---
Assigned To: gnome-vfs maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-07-22 15:55 UTC by Marc O'Morain
Modified: 2005-02-13 00:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
fix for actually ejecting CD-ROMs (423 bytes, patch)
2004-09-23 09:47 UTC, Martin Pitt
none Details | Review

Description Marc O'Morain 2004-07-22 15:55:47 UTC
After clicking eject on the CD-ROM icon, the CD-ROM is no longer on the desktop,
but it is in the drive. the CD-ROM tray should open when the user clicks eject.

Steps to reproduce:

1. Insert a CR-ROM
2. Right-click on the DC icon on the desktop, and select eject.

Actual Results:
The device is unmounted, but not ejected. Nothing informs the user what has just
happened.

Expected results:
The CD-ROM tray opens. The user should not have to know anything about mounting
and unmounting filesystems.
Comment 1 Nils Björklund 2004-07-22 17:10:35 UTC
I can't reproduce this on Gnome 2.6.1. What version of Nautilus are you running?
Comment 2 Marc O'Morain 2004-07-22 17:17:25 UTC
$ nautilus --version
Gnome nautilus 2.6.0

The drive is recognised by system-config-hardware as:

Pioneer DVD-ROM ATAPIModel DVD-105S 011
Manufacturer: Pioneer
Driver: none or built in
Device: /dev/hdc

Comment 3 Martin Pitt 2004-09-23 09:46:11 UTC
The bug is in libgnomevfs/gnome-vfs-volume-ops.c, gnome_vfs_drive_eject(): the
condition whether to unmount or eject the drive is always true;
attached patch fixes that to behave like intended. Now CD-ROMs are
actually ejected.

This fix comes from our Ubuntu distribution and has proven to be stable and
working. Can you please adopt this?
Comment 4 Martin Pitt 2004-09-23 09:47:20 UTC
Created attachment 31865 [details] [review]
fix for actually ejecting CD-ROMs
Comment 5 Alastair Porter 2004-11-23 09:11:13 UTC
I am getting this when using the menu in Computer under gnome 2.8
$ nautilus --version
Gnome nautilus 2.8.0
Choosing eject from the menu on the desktop unmounts and ejects the drive fine,
but the option in Computer only unmounts the device
Comment 6 Martin Wehner 2005-01-20 21:04:06 UTC
This is a gnome-vfs issue, so reassigning there.
Comment 7 Christian Kellner 2005-02-13 00:11:42 UTC
That should be fix in CVS head with this commit:

2005-01-11  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-volume-ops.c: (mount_unmount_thread),
	(mount_unmount_operation), (gnome_vfs_volume_unmount),
	(gnome_vfs_volume_eject), (gnome_vfs_drive_mount),
	(gnome_vfs_drive_eject):
	allow eject of unmounted volumes.
	Patch from Magnus Damm <magnus.damm@gmail.com