Bug 440066 - Remote places not showing label in Places Panel when mounted through terminal
Summary: Remote places not showing label in Places Panel when mounted through terminal
Status: REOPENED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
: 429044 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-20 10:56 UTC by LapiXo
Modified: 2023-12-12 05:43 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
bug as shown on places panel (9.17 KB, image/png)
2021-07-20 10:56 UTC, LapiXo
Details
CIFS share mounted with autofs (178.76 KB, image/png)
2022-01-23 11:13 UTC, Patrick Silva
Details
output of `udisksctl dump` (49.25 KB, text/plain)
2022-01-25 19:23 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LapiXo 2021-07-20 10:56:32 UTC
Created attachment 140212 [details]
bug as shown on places panel

SUMMARY

Remote places not showing label in Places Panel when mounted through terminal

STEPS TO REPRODUCE
1. mount any remote share (samba, nfs, etc) throught terminal
2. open Dolphin file manager
3. Check "Places Panel"

OBSERVED RESULT

Panel shows full path to the mount point instead of the label. This makes ir hard to identify mount point if you have several.  

This did not happen y previous versions of Dolphin (shipped with kubuntu 20.04, plasma 5.18)

EXPECTED RESULT

Places Panel shows Label of shard resource instead of path to mount point

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 5.21
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-01-23 04:15:13 UTC
Does this affect the file open/save dialogs too?
Comment 2 Nate Graham 2022-01-23 04:15:34 UTC
*** Bug 429044 has been marked as a duplicate of this bug. ***
Comment 3 Patrick Silva 2022-01-23 11:13:43 UTC
Created attachment 145793 [details]
CIFS share mounted with autofs

I mount a CIFS share with autofs on neon unstable. As we can see in the screenshot attached to this comment, open/save dialogs are also affected.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 4 LapiXo 2022-01-24 10:44:02 UTC
(In reply to Nate Graham from comment #1)
> Does this affect the file open/save dialogs too?

Yes, it does. No happening when using gtk apps using own dialogs. Only with Dolphin. Even installed Thunar to verify.
Comment 5 Méven Car 2022-01-25 10:25:03 UTC
Seems like a solid issue.
Comment 6 Méven Car 2022-01-25 10:30:53 UTC
(In reply to Méven Car from comment #5)
> Seems like a solid issue.

Could share the result of `solid-hardware5 list` command.
Comment 7 Méven Car 2022-01-25 10:36:17 UTC
(In reply to Méven Car from comment #6)
> (In reply to Méven Car from comment #5)
> > Seems like a solid issue.
> 
> Could share the result of `solid-hardware5 list` command.

And the result of  `solid-hardware5 details <the-udi for your remote mount>`

udi: unique device identifier, for instance '/org/freedesktop/UDisks2/drives/KXG50ZNV512G_NVMe_TOSHIBA_512GB_58TF70VAFAQP'
You will find the udi in the previous command result.

And the result of `udisksctl dump`
Comment 8 Patrick Silva 2022-01-25 19:22:03 UTC
$ solid-hardware5 list
udi = '/org/kde/fstab'
udi = '/org/kde/fstab///192.168.0.50/SEAGATE:/CIFS3/SEAGATE'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:06CB:1AD4.0001/input/input12'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:06CB:1AD4.0001/input/input12/event5'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:06CB:1AD4.0001/input/input12/mouse0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:06CB:1AD4.0001/input/input13'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:06CB:1AD4.0001/input/input13/event6'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:06CB:1AD4.0001/input/input13/mouse1'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D3'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0c'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D3p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/controlC0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/enp1s0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlp2s0'
udi = '/org/kde/solid/udev/sys/devices/platform/i8042/serio1/input/input6'
udi = '/org/kde/solid/udev/sys/devices/platform/i8042/serio1/input/input6/event7'
udi = '/org/kde/solid/udev/sys/devices/platform/i8042/serio1/input/input6/mouse2'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS0'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS1'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS10'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS11'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS12'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS13'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS14'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS15'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS16'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS17'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS18'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS19'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS2'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS20'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS21'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS22'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS23'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS24'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS25'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS26'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS27'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS28'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS29'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS3'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS30'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS31'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS4'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS5'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS6'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS7'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS8'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS9'
udi = '/org/kde/solid/udev/sys/devices/system/cpu/cpu0'
udi = '/org/kde/solid/udev/sys/devices/system/cpu/cpu1'
udi = '/org/kde/solid/udev/sys/devices/system/cpu/cpu2'
udi = '/org/kde/solid/udev/sys/devices/system/cpu/cpu3'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/lo'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/seq'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/timer'
udi = '/org/freedesktop/UDisks2/block_devices/loop18'
udi = '/org/freedesktop/UDisks2/block_devices/sda3'
udi = '/org/freedesktop/UDisks2/block_devices/loop4'
udi = '/org/freedesktop/UDisks2/block_devices/loop12'
udi = '/org/freedesktop/UDisks2/block_devices/loop22'
udi = '/org/freedesktop/UDisks2/block_devices/loop9'
udi = '/org/freedesktop/UDisks2/block_devices/loop17'
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/block_devices/loop27'
udi = '/org/freedesktop/UDisks2/block_devices/loop3'
udi = '/org/freedesktop/UDisks2/block_devices/loop11'
udi = '/org/freedesktop/UDisks2/block_devices/sda'
udi = '/org/freedesktop/UDisks2/block_devices/loop21'
udi = '/org/freedesktop/UDisks2/block_devices/loop8'
udi = '/org/freedesktop/UDisks2/block_devices/loop16'
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/loop26'
udi = '/org/freedesktop/UDisks2/block_devices/loop2'
udi = '/org/freedesktop/UDisks2/block_devices/loop10'
udi = '/org/freedesktop/UDisks2/block_devices/loop20'
udi = '/org/freedesktop/UDisks2/block_devices/loop7'
udi = '/org/freedesktop/UDisks2/block_devices/loop15'
udi = '/org/freedesktop/UDisks2/block_devices/loop25'
udi = '/org/freedesktop/UDisks2/block_devices/loop1'
udi = '/org/freedesktop/UDisks2/block_devices/loop6'
udi = '/org/freedesktop/UDisks2/block_devices/loop14'
udi = '/org/freedesktop/UDisks2/block_devices/loop24'
udi = '/org/freedesktop/UDisks2/block_devices/loop0'
udi = '/org/freedesktop/UDisks2/block_devices/loop19'
udi = '/org/freedesktop/UDisks2/block_devices/loop5'
udi = '/org/freedesktop/UDisks2/block_devices/loop13'
udi = '/org/freedesktop/UDisks2/block_devices/loop23'
udi = '/org/freedesktop/UDisks2/drives/MATSHITADVD_RAM_UJ8C2_WP97_007923'
udi = '/org/freedesktop/UDisks2/drives/GIGABYTE_GP_GSTFS31240GNTD_SN203808903817'
udi = '/org/freedesktop/UPower'
udi = '/org/freedesktop/UPower/devices/line_power_ACAD'
udi = '/org/freedesktop/UPower/devices/battery_BAT1'


$ solid-hardware5 details /org/kde/fstab///192.168.0.50/SEAGATE:/CIFS3/SEAGATE
udi = '/org/kde/fstab///192.168.0.50/SEAGATE:/CIFS3/SEAGATE'
  parent = '/org/kde/fstab' (string)
  vendor = '192.168.0.50' (string)
  product = 'SEAGATE:/CIFS3/SEAGATE' (string)
  description = 'SEAGATE:/CIFS3/SEAGATE on 192.168.0.50' (string)
  icon = 'network-server' (string)
  StorageAccess.accessible = true (bool)
  StorageAccess.filePath = '/CIFS3/SEAGATE' (string)
  StorageAccess.ignored = false (bool)
  StorageAccess.encrypted = false (bool)
  NetworkShare.type = 'Cifs'  (0x2)  (enum)
  NetworkShare.url = 'smb://192.168.0.50/SEAGATE:/CIFS3/SEAGATE' (QUrl)
Comment 9 Patrick Silva 2022-01-25 19:23:12 UTC
Created attachment 145933 [details]
output of `udisksctl dump`
Comment 10 Méven Car 2022-01-27 17:58:25 UTC
One last question what should be the label to use to display the mount point/shared resource ?
Comment 11 Méven Car 2022-02-12 10:51:57 UTC
(In reply to Méven Car from comment #10)
> One last question what should be the label to use to display the mount
> point/shared resource ?

from one of the  `mount -o` options, based on another path ?

Or if one could specify what `Label of shared resource` corresponds to ?
Comment 12 Bug Janitor Service 2022-02-27 04:36:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Méven Car 2022-03-02 08:49:08 UTC
Btw you can manually edit entries.
Comment 14 Bug Janitor Service 2022-03-17 04:35:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 15 Bug Janitor Service 2022-04-01 04:34:51 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 16 E. F. Keebler 2023-12-12 05:43:47 UTC
This same issue has affected me for a long time; I was glad to find it mentioned here, and puzzled that no one had ever followed up with a suggestion about the source of a label that could be used in place of the full path.  In my case, I mount numerous remote folders via sshfs, and in Dolphin these show up under PLACES as the full local path to the mount-point I have selected, which is useless for differentiation as the key information is the folder name at the very end of the path (which is not visible as the path is much wider than the Places panel).

Here's my point: Dolphin already knows the name of the innermost folder, which would make a far better label than the full path.  If I right-click on the path and select Properties, up comes the Properties dialog showing the name of the folder (next to a folder icon), with the rest of the path given below (next to "Location").  If there were a user-accessible option for the Devices section to show the same name that is already given in the Properties dialog (when one exists), that would be a massive usability improvement in many cases.