files icon indicating copy to clipboard operation
files copied to clipboard

exFAT formated USBDisks appearing double on the sidebar.

Open queeup opened this issue 4 years ago • 8 comments

I couldn't check all formats but exFAT USBDisks are acting strange. Mounted fine but appearing double on the sidebar and when I try to unmount, one of them disappeared but left one of it visible until I restart files app.

Steps to Reproduce

  1. Put exFAT formated USBDisk and mount it on the files app.
  2. Try to unmount

Platform Information

~ $ head -2 /etc/os-release
NAME="elementary OS"
VERSION="6 Early Access"
~ $ dpkg-query --showformat='${Package}:\t${Version}\n' --show pantheon-files
pantheon-files:	4.5.0+r4445+pkg100~daily~ubuntu6.1

queeup avatar Apr 17 '21 14:04 queeup

Probably a regression from recent Sidebar rewrite.

jeremypw avatar Apr 17 '21 15:04 jeremypw

I created an exfat partition on a USB stick using mkexfatfs on the commandline. Files does not automatically detect this stick when it is plugged in (nor did Nautilus). If I fuse-mount this partition to a directory in my home folder using sudo mount.exfat <device> <dir> on the commandline the USB stick appears under "Devices" (once) and can be written to successfully. The contents can be viewed either by clicking the device row or by navigating to the folder to which it was mounted. In either case, the pathbar shows the path to the folder to which it was mounted. It could be unmounted with Files after entering the admin password. This was using Files compiled from latest master.

Mounted fine but appearing double on the sidebar

Please clarify where the double entries appear and which disappeared on unmounting. Please detail any differences in the way you made the exfat partition and how you mounted/dismounted it.

jeremypw avatar Apr 26 '21 15:04 jeremypw

I have checked devices with FAT16, NTFS, EXT4 and ISO9660 partitions and they mounted/unmounted as expected.

jeremypw avatar Apr 26 '21 16:04 jeremypw

I used it gnome-disks to format exfat usbdisk. Debug log: https://pastebin.ubuntu.com/p/hmcnMY6JPV/

~ $ dpkg-query --showformat='${Package}:\t${Version}\n' --show pantheon-files
pantheon-files:	4.5.0+r4453+pkg100~daily~ubuntu6.1

https://user-images.githubusercontent.com/87835/116143827-4bd5f700-a6e4-11eb-9d55-1bdffa1f35ad.mp4

queeup avatar Apr 26 '21 20:04 queeup

I have the same issue with a NTFS partition.

I'm running the new elementary OS 6.0 Odin next to Windows 10 in dual boot and mount the NTFS partition to access my files.

Here is a screenshot:

Capture d'écran du 2021-08-12 15 08 33

Edit: I encounter the same issue with a portable disk formatted as NTFS too

NathanBnm avatar Aug 12 '21 15:08 NathanBnm

On Elementary OS 6 Stable I am still having this issue. However it only shows duplicated on first mount. If I close files and open it again it then shows a single mounted USB drive

selwynorren avatar Aug 13 '21 17:08 selwynorren

I am also having the same issue on Elementary OS 6, even with the latest updates. Screenshot from 2021-11-05 09 49 52

diegomagela avatar Nov 05 '21 12:11 diegomagela

@diegomagela The fix for this (#1752) is awaiting final approval.

jeremypw avatar Nov 05 '21 15:11 jeremypw