Bug 429044 - Dolphin uses the entire path url as a label when mounting a samba share via the terminal.
Summary: Dolphin uses the entire path url as a label when mounting a samba share via t...
Status: RESOLVED DUPLICATE of bug 440066
Alias: None
Product: dolphin
Classification: Applications
Component: panels: places (show other bugs)
Version: 20.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2020-11-13 06:34 UTC by Dashon
Modified: 2022-01-23 04:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dashon 2020-11-13 06:34:23 UTC
SUMMARY
I use the mount utility to manually mount some samba drives I occasional need to access. The command goes like this.
sudo mount -t cifs -o username=user,uid=u,gid=g,etc,etc samba_share mount_point

This successfully mounts the samba share locally so that non kde apps who can't or don't use kio can access those files. The problem occurs when I open dolphin to see the mounted samba share. It correctly shows that it has been mounted in the network section since it is a network drive. However instead of using the mount_point name which is usually the name of the folder it is being mapped to. It instead uses the full url path of the mount_point folder instead. For example instead of showing Data in the network section it instead shows /home/user/some_path/Data. This makes it impossible to know which remote folder I am accessing especially when I have more than one. I decided to download thunar and nemo to see if they also showed mounted samba shares like this because honestly I don't have much experience with mounting network drives anyways. However, both of these applications show the mount_point folder albeit lowercased. 

STEPS TO REPRODUCE
1. Mount remote samba share
2. Open dolphin
3. Look in Network Section

OBSERVED RESULT
See full path url depending on where you mounted the drive.

EXPECTED RESULT
To only see the folder that the remote drive is being mapped to aka the mount_point folder. The same way dolphin shows manually mounted usb devices.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20201111
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.1-2-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 620
Comment 1 Patrick Silva 2021-11-23 18:44:51 UTC
Same thing on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Graphics Platform: X11
Comment 2 Nate Graham 2022-01-23 04:15:34 UTC

*** This bug has been marked as a duplicate of bug 440066 ***