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 617669 - regression eject hotkey fails to eject tray
regression eject hotkey fails to eject tray
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: [obsolete] gdu volume monitor
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-04 16:59 UTC by pauls
Modified: 2018-04-13 18:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description pauls 2010-05-04 16:59:34 UTC
After upgrading from gnome 2.28 in ubuntu 9.10 to gnome 2.30 in ubuntu 10.04, some users experience a bug using the eject hotkey.

Refer to https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/569994 for full bug report.

At least 3 separate laptops have reported problems.

After pressing the Fn-F10 hotkey, the o-s-d icon displays, but the tray fails to open.

The changelog shows coding changes in the eject method in gnome-settings-daemon 2.30.  Perhaps this is a regression.

Specifically, on 30 March 2010, this:
    - Replace "eject" spawn with GIO code (Bastien Nocera) (#580779)

and on 17 Jan 2010, this:
    - Make eject behave better on OpenBSD (Jasper Lievisse Adriaanse)
      (#598573)
Comment 1 Bastien Nocera 2010-05-04 17:43:16 UTC
What's the output of "gvfs-mount -li" on those systems?
Comment 2 pauls 2010-05-04 23:58:23 UTC
paul :~$ gvfs-mount -li
Drive(0): 100 GB Hard Disk
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sda'
  themed icons:  [drive-harddisk-ata]  [drive-harddisk]  [drive]
  is_media_removable=0
  has_media=1
  is_media_check_automatic=0
  can_poll_for_media=0
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown
  Volume(0): 45 GB Filesystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '9E64580A6457E395'
     unix-device: '/dev/sda2'
    themed icons:  [drive-harddisk-ata]  [drive-harddisk]  [drive]
    can_mount=1
    can_eject=0
    should_automount=0
  Volume(1): 107 MB Filesystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '1cf7a6e6-36a7-49eb-8892-238d9522701a'
     unix-device: '/dev/sda5'
    themed icons:  [drive-harddisk-ata]  [drive-harddisk]  [drive]
    can_mount=1
    can_eject=0
    should_automount=0
  Volume(2): 25 GB Encrypted
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '374ab152-07dc-4450-bfc4-aa9d173cf681'
     unix-device: '/dev/sda6'
    themed icons:  [drive-harddisk-ata]  [drive-harddisk]  [drive]
    can_mount=1
    can_eject=0
    should_automount=0
  Volume(3): 30 GB LVM2 Physical Volume
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '96e2838b-c02c-42f6-988b-5d58ce45dc19'
     unix-device: '/dev/mapper/sda8_crypt'
    themed icons:  [drive-harddisk]  [drive]
    can_mount=1
    can_eject=0
    should_automount=0
Drive(1): CD/DVD Drive
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sr0'
  themed icons:  [drive-optical]  [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=1
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown
Comment 3 cshong87 2010-05-05 00:05:42 UTC
Hi, I also affected by this bug. I am using Ubuntu 10.04.

There is no eject button on my laptop DVD drive. But, there is an eject hotkey button on my laptop keyboard. This hotkey does work in Windows 7, but not in Ubuntu Linux with GNOME.

The following are the result of gvfs-mount -li

Drive(0): 500 GB Hard Disk
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sda'
  themed icons:  [drive-harddisk-ata]  [drive-harddisk]  [drive]
  is_media_removable=0
  has_media=1
  is_media_check_automatic=0
  can_poll_for_media=0
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown
  Volume(0): SYSTEM RESERVED
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '54C06CFAC06CE3A8'
     unix-device: '/dev/sda2'
     label: 'SYSTEM RESERVED'
    themed icons:  [drive-harddisk-ata]  [drive-harddisk]  [drive]
    can_mount=1
    can_eject=0
    should_automount=0
Drive(1): 320 GB Hard Disk
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sdb'
  themed icons:  [drive-harddisk-usb]  [drive-harddisk]  [drive]
  is_media_removable=0
  has_media=1
  is_media_check_automatic=0
  can_poll_for_media=0
  can_eject=0
  can_start=0
  can_stop=1
  start_stop_type=shutdown
  Volume(0): CSH Hard Disk
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '8092746092745C9A'
     unix-device: '/dev/sdb1'
     label: 'CSH Hard Disk'
    themed icons:  [drive-harddisk-usb]  [drive-harddisk]  [drive]
    can_mount=1
    can_eject=0
    should_automount=0
    Mount(0): CSH Hard Disk -> file:///media/CSH%20Hard%20Disk
      Type: GProxyMount (GProxyVolumeMonitorGdu)
      default_location=file:///media/CSH%20Hard%20Disk
      themed icons:  [drive-harddisk-usb]  [drive-harddisk]  [drive]
      can_unmount=1
      can_eject=0
      is_shadowed=0
Drive(2): CD/DVD Drive
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sr0'
  themed icons:  [drive-optical]  [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=1
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown
Comment 4 Bastien Nocera 2010-05-05 00:27:26 UTC
Your CD drive says:
can_eject=0
So we can't know that you can actually eject it.

I believe it's a dupe of a recently closed bug, reassigning to gvfs.
Comment 5 David Tombs 2010-05-28 14:52:47 UTC
So... which bug is this a dupe of? Is it already fixed somewhere?
Comment 6 David Tombs 2010-08-17 00:18:15 UTC
Note that gvfs-mount always shows can_eject=0 when there is no media in the drive. Pauls, can you eject using the hotkey if there is a CD in the drive? If so, please provide a gvfs-mount in that situation.
Comment 7 Sergey V. Udaltsov 2010-11-20 17:05:29 UTC
Same story here, ubuntu 10.10/ppc64

gvfs-mount -li shows

Drive(1): CD/DVD Drive
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/hda'
  themed icons:  [drive-optical]  [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=1
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown
Comment 8 Sven Arvidsson 2011-10-27 12:49:35 UTC
gfvs-mount does show can_eject=1 when media is mounted, and the hotkey works but not otherwise.

If this is the desired behaviour I guess at least the eject OSD icon should only be shown when media actually can be ejected.
Comment 9 Ondrej Holy 2018-04-13 18:15:38 UTC
Gdu volume monitor has been superseded by udisks2 volume monitor long time ago. I am closing this bug because many have been changed since this was reported. If this is still an issue with the recent gvfs releases, please reopen and change component to udisks2 volume monitor.