Desktop icon position for CDs/DVDs are remembered on a per-disc basis
Issue Description
If you move the desktop icon for a CD/DVD, eject the disc, and then insert a different disc, the icon position will reset.
Presumably impacts things like floppy disks and ZIP disks as well, but I've not tested this.
Steps to Reproduce Issue
- make sure the desktop icon for removable volumes is enabled
- insert a CD/DVD into the optical drive
- make sure the CD/DVD is mounted
- move the desktop icon for the CD/DVD to a different position
- eject the CD/DVD from the optical drive
- insert a different CD/DVD into the same optical drive
- make sure the CD/DVD is mounted
- observe how the desktop icon for the CD/DVD drive has been reset
Expected Behavior
The desktop icon position for the newly-inserted CD/DVD (step 6-8) should have remained at the same location as the previously-inserted CD/DVD (step 2-4).
Possible Solutions
A. remembering the desktop icon location based on your actual optical drive rather than an individual disc
B. defaulting newly-populated discs/volumes to the same desktop icon position as the most recent disc/volume
C. remembering the desktop icon position based on the type of volume (removable vs fixed/internal) rather than separate individual volumes (disc1 vs disc2 vs USB drive 1 vs USB drive 2)
(for B and C, if more than one disc/volume is present, then follow the direction specified in the desktop "Icon Orientation" setting relative to where the first disc/volume desktop icon is located - so if set to "Top Left Vertical", then a second disc/volume would appear below and/or to the right of the first disc/volume)
Additional Information
Seemingly an unintended side effect of the fix for #305 (closed) which remembers desktop icon positions uniquely for every single different volume regardless of whether it's a different USB drive or a different CD/DVD.
Solutions for issues #300 and #327 (closed) could also solve this CD/DVD desktop icon positioning problem.
Environment & Versions
- OS distribution and version: Xubuntu 25.04 daily build 2025-02-21 (live session)
- Overall Xfce version: 4.20
- xfdesktop version: 4.20.0
- Windowing system: X11
- GTK Theme: Greybird
- Icon Theme: elementary Xfce Dark
- UI Scale Factor: 1x