#7648: [Tracker] orphaned disk icons on the Desktop after moving icon before un- mount ----------------------------------+------------------------------ Reporter: ribbonz | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/Tracker | Version: R1/Development Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | ----------------------------------+------------------------------ open Terminal[[br]] cd 'to/some/directory/on/a/drive/with/plenty/of/space' dd if=/dev/zero of=daddy.img bs=1M count=1000[[br]] settype -t 'application/x-bfs-image' daddy.img[[br]] mkfs -t bfs daddy.img daddy[[br]] open daddy.img[[br]] This gives us a new 1000MB disk image that is mounted, with an icon on the Desktop, and ready to be used. Now right-click on the Desktop and select 'daddy' from the popup menu to Unmount the image. We are now ready to... [Do the Dance] 1. right-click on the Desktop and select 'daddy' to mount the disk again 2. after the disk icon appears, move it to another location: doesn't need to be too far away -- preferably not aligned neatly to where it was moved from 3. right-click on the icon itself and select 'Unmount' to unmount it Most often, the icon stays on-screen after step 3, even though it's unmounted. If the icon does disappear, then 'Do the Dance' again. Now that you have an orphaned icon on the Desktop, the next time you remount it it will appear in the same place the last one got stranded at. Just drag the icon to a new location (will reveal the stuck one underneath) You now have two 'daddy' icons... [repeat as often as you like] It appears that Tracker is expecting the icon to stay put, so moving it away before unmounting it seems to confuse Tracker's display logic. The attached screenshot is not a photoshopped image or anything like that. With a little practice, it becomes easy to reproduce -- so I had a little fun and made of bunch of orphaned icons. I've seen this before on normal disk images, so I don't think it has anything to do with "virtual disks". Just made for an easy-to-test case. -- Ticket URL: <http://dev.haiku-os.org/ticket/7648> Haiku <http://dev.haiku-os.org> Haiku - the operating system.