Red Hat Bugzilla – Bug 53253
nautilus vs. eject creates multiple desktop icons for /mnt/cdrom
Last modified: 2007-04-18 12:36:53 EDT
Description of Problem:
For each cd inserted a new icon is created without the old on being removed
Version-Release number of selected component (if applicable):
Whatever is in RC2
Steps to Reproduce:
2. insert a cd while nautilus is running it will create a desktop icon for it
3. run eject
4. eject will umount and eject the cd leaving the icon
5. insert another cd and you will now have two icons with different lables
6. repeat steps 2-5 to create as many non deletable cd icons with different
labels as you want.
When /mnt/cdrom is unmount by eject nautilus should remove the desktop icon
for that mount and then re-create a new one for the new cd.
Machine only has one cdrom drive so two cd icons should never appear
Moved to Beta1 as per instructions on submission page to list Fairfax bugs as
beta1 not RC2.
The problem here is a race condition that occurs because eject now
unmounts and ejects the disc if it is unmounted.
The race is if the disc is ejected before nautilus notices that
it is unmounted, then it doesn't know what icon on the desktop
I have a tentative patch for this which seems to work and makes
sense to me. I've mailed nautilus-list asking if my assumptions
on how it is supposed to be working are correct or not.
Fixed in 1.0.4-42.