Red Hat Bugzilla – Bug 518570
Unmount menuitem lingers
Last modified: 2015-03-03 17:40:49 EST
I had an audio cd in my cd drive, then I removed it. nautilus computer window changed the icon from audio cd to cd drive as expected, but the context menu still have an unmount menuitem that complains:
Unable to unmount Audio Disc
DBus error org.freedesktop.DBus.Error.ServiceUnknown: The name :1.86 was not provided by any .service files.
Actually, all the "Open with" menuitems for audio cds linger as well..
Created attachment 362113 [details]
A simple patch, removing test for activation_uri, which sometimes cannot be determined in prior to mount (see the patch for details). This makes the Unmount menu item actually hidden after unmount.
Attaching patch this way to have review from interested persons.
(In reply to comment #1)
> Actually, all the "Open with" menuitems for audio cds linger as well..
Clicking the "Open with Text Editor" default action would cause automount, not showing any error. I need to test it more, we might want to disallow opening associated applications in this case.
Alex says the patch looks good, so I've pushed it upstream and in rawhide.