elementary / files

File browser designed for elementary OS
https://elementary.io
GNU General Public License v3.0
323 stars 75 forks source link

exFAT formated USBDisks appearing double on the sidebar. #1665

Open queeup opened 3 years ago

queeup commented 3 years ago

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
jeremypw commented 3 years ago

Probably a regression from recent Sidebar rewrite.

jeremypw commented 3 years ago

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 commented 3 years ago

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

queeup commented 3 years ago

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

NathanBnm commented 3 years ago

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

selwynorren commented 3 years ago

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

diegomagela commented 2 years ago

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

jeremypw commented 2 years ago

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