While this might seem to be not a bug, but it used to work with HAL
It was possible to press the button on the cdrom to trigger the unmount & ejection.
It would even fail if some files were opened.
Best reproduced with this:
unset the /apps/nautilus/preferences/show_desktop gconf key.
(It seem that as a seperate bug, nautilus keeps cdrom opened, thus blocks the ejection), then close all nautilus windows.
Now insert a disk, observe that it can be ejected with button.
Now inset again, open g-d-u, and press 'mount'. Now hardware button is locked.
Now press 'unmount'. observe that now eject button works.
While this might seem to be not a bug, but it used to work with HAL
It was possible to press the button on the cdrom to trigger the unmount & ejection.
It would even fail if some files were opened.
Best reproduced with this:
unset the /apps/nautilus/ preferences/ show_desktop gconf key.
(It seem that as a seperate bug, nautilus keeps cdrom opened, thus blocks the ejection), then close all nautilus windows.
Now insert a disk, observe that it can be ejected with button.
Now inset again, open g-d-u, and press 'mount'. Now hardware button is locked.
Now press 'unmount'. observe that now eject button works.
100% reproducible