GNOME Bugzilla – Bug 572521
gvfsd-cdda create two different Audio Disc Icons on Desktop
Last modified: 2009-03-11 14:04:08 UTC
with gnome-2.25.5, gvfs1.1.6, One AudioCD inserted, two different Audio Disc icons are created on Desktop. And if I kill gvfsd-cdda, these 2 icons will disappear.
Any cd, or is it some specific one? (For instance, one with a data partition)
Still the same crappy downstream patch? See dupe for details, and STOP FILING DUPES. Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 563090 ***
not the dup of 563090. because this time, I build gvfsd-cdda with libcdio library, only one gvfsd-cdda process creates two AudioCD icon on desktop. I reproduce it with gvfs-1.1.7
cdio I used is libcdio8.0 gvfs 1.1.7, hal 0.5.8
Two different icons on desktop it seems that one is bringing up by gvfsd-cdda another is created by gvfs-hal-volume-monitor. When I run gvfs-hal-volume-monitor manually on terminal, it will popup a warning dialog" location is already mounted", that's right. but it will create another audio icon on desktop. everytime I run it again, it will create one audio icon. Another thing: my audio cd is mounted as /dev/dsk/c0t1d0p0, but if I run gvfs-mount cdda://c0t1dp1, gvfs-mount cdda://c0t1dp2 two audio cd icon show on desktop. They are not dup of 563090, because I build libcdio on my system, and link gvfsd-cdda with it.
It would be helpful if you 1. include the output of 'gvfs-mount -li' 2. include the output of 'mount' 3. tell us what patches you are applying to gvfs and gio (preferably just links to them) Thanks.
I guess the gvfsd-cdda icon is the mount, while the gvfs-hal-volume-monitor one is the volume. Shouldn't the volume shadowing hide the volume one though?
I get two icons too. This is the gvfs-mount output: $ gvfs-mount -li Drive(0): CD-RW/DVD±RW Drive Type: GProxyDrive (GProxyVolumeMonitorHal) ids: hal-udi: '/org/freedesktop/Hal/devices/storage_model_CD_DVDW_SH_S182M' unix-device: '/dev/sr0' themed icons: [drive-optical-recorder] [drive-optical] [drive] is_media_removable=1 has_media=1 is_media_check_automatic=1 can_poll_for_media=1 can_eject=1 Volume(0): Audio Disc Type: GProxyVolume (GProxyVolumeMonitorHal) ids: hal-udi: '/org/freedesktop/Hal/devices/volume_part_1_size_29255680' unix-device: '/dev/sr0' activation_root=cdda://sr0/ themed icons: [drive-optical-recorder] [drive-optical] [drive] can_mount=1 can_eject=1 Mount(0): Audio Disc -> cdda://sr0/ Type: GProxyShadowMount (GProxyVolumeMonitorHal) themed icons: [drive-optical-recorder] [drive-optical] [drive] x_content_types: x-content/audio-cdda can_unmount=1 can_eject=1 is_shadowed=0 Mount(0): Audio Disc -> cdda://sr0/ Type: GDaemonMount themed icons: [media-optical-audio] [media-optical] [media] x_content_types: x-content/audio-cdda can_unmount=1 can_eject=0 is_shadowed=1 It seems the GDaemonMount is shadowed, but still displayed...
When I say "displayed" I mean its visible in computer:///. All other places in nautilus are OK. Ah, except the panel. We should fix that too.
Created attachment 130448 [details] [review] Don't show shadowed mounts in computer:///
(In reply to comment #10) > Created an attachment (id=130448) [edit] > Don't show shadowed mounts in computer:/// > Good catch, thanks Alex. Seems like I forgot to patch GVfs for the shadowing stuff.
2009-03-11 Alexander Larsson <alexl@redhat.com> Bug 572521 – gvfsd-cdda create two different Audio Disc Icons on Desktop * daemon/gvfsbackendcomputer.c (recompute_files): Don't show shadowed mounts.