The device order in the sidebar both in tree and bookmark view isn't constant and fluctuates when you plugin a device, mount or unmount. Plugin steps: 1. open thunar 2. plugin in a phone 3. it appears at bottom 4. restart thunar 5. now it appears below File System Unmount steps: 1. open thunar 2. mount a partition 3. unmount partition 4. notice its now at the bottom of the list The constant order should be 1. File System 2. Internal Partitions 3. External Partitions (USB/Hard Disk) 4. External Devices Video: https://youtu.be/GvC7QJMTSrg
The sorting order is based on timestamp comparison. When a device is added after Thunar was opened, it will be moved to the bottom of its subgroup. How do other file managers order the entries?
Created attachment 9753 caja devices It keeps the order consistent irrespective to when which of them are plugged in or out in Caja. 1. Internal Partitions 2. External Partitions 3. USB Devices 4. Other Devices
(In reply to Jay Philips from comment #2) > Created attachment 9753 > caja devices > > It keeps the order consistent irrespective to when which of them are plugged > in or out in Caja. > > 1. Internal Partitions > 2. External Partitions > 3. USB Devices > 4. Other Devices Possibly ordered first by "can it be injected" and subgroups are ordered by URI name ? As always, patches are welcome !
There are only two subgroups (volumes, local mounts) and the order of its entries on start is determined by GVolumeMonitor. https://git.xfce.org/xfce/thunar/tree/thunar/thunar-device-monitor.c#n208
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/296. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev