https://bugs.kde.org/show_bug.cgi?id=409592

            Bug ID: 409592
           Summary: Unnecessary remote and devices items in file dialogs
           Product: frameworks-kio
           Version: 5.54.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Places
          Assignee: fa...@kde.org
          Reporter: tommi.niemi...@legisign.org
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

Created attachment 121370
  --> https://bugs.kde.org/attachment.cgi?id=121370&action=edit
Screenshot of Dolphin highlighting the extra entries

SUMMARY

The Places panel should exclude items in `/etc/fstab`, because they can be
accessed using the directory tree in the usual way. However, in all KDE Plasma
versions I’ve encountered I get at least some of the local filesystems in the
Devices section and usually all of my NFS shares in the Remote section of the
Places panel. (At least the latter might actually be the designers’ intention
although I find it unsettling.)

STEPS TO REPRODUCE

1. Create an installation with multiple filesystems and NFS shares.
2. Open up Dolphin or any standard file dialog.
3. Look at the Remote and Devices sections of the Places panel.

OBSERVED RESULT

At least some of the `fstab`-mounted filesystems appear in the Devices section,
and all of the NFS shares in the Remote section.

Also, I couldn’t reproduce it in a virtual machine but sometimes filesystems
mounted by their UUID’s but having disk labels as well appear multiple times in
the panel.

EXPECTED RESULT

Entries from `/etc/fstab` should be excluded. Any device should have at most a
single entry.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Debian GNU/Linux 10 (kernel 4.19.0-5-amd64)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION

Sample `/etc/fstab` from the virtual machine I produced the attached screenshot
with. The root directory appears as the “36.0 GiB Hard Drive” in the Devices
section, and the NFS shares in the Remote section.

# /etc/fstab

UUID=32b48915-d25a-4aa6-a048-a2ccf059b565   /               ext4   
errors=remount-ro   0 1
UUID=49f94528-8ee4-4788-907b-d0acf042bca1   none            swap    sw         
        0 0

## NFS
#
aristoteles:/homes                          /ext/home       nfs    
nfsvers=4,noatime   0 0
aristoteles:/Multimedia                     /ext/multimedia nfs    
nfsvers=4,noatime   0 0
aristoteles:/Public                         /ext/nas        nfs    
nfsvers=4,noatime   0 0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to