Bug 421024

Summary: Samba servers should be identified by their hostnames instead of "server-name.local" for Linux servers and "server-name.kio-discovery-wsd' for Windows servers
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: kfm-devel, nate, sitter
Priority: NOR    
Version: 20.07.80   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: linux server
windows server

Description Patrick Silva 2020-05-04 21:15:33 UTC
Created attachment 128152 [details]
linux server

STEPS TO REPRODUCE
1. click on "Network" in places panel and open "Shared Folders (SMB)"
2. double click on any linux/windows samba server
3. 

OBSERVED RESULT
When Samba server is a Linux machine, title bar shows "server-name.local" and breadcrumb shows "smb: server-name.local".
When Samba server is a Windows machine, title bar shows
"server-name.kio-discovery-wsd".
See the attached screenshots please.

EXPECTED RESULT
Title bar and breadcrumb should always show "server-name" and "smb: server-name" respectively.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Comment 1 Patrick Silva 2020-05-04 21:16:14 UTC
Created attachment 128153 [details]
windows server
Comment 2 Harald Sitter 2020-05-05 15:28:13 UTC
What does "server-name" mean exactly? As far as I know SMB servers have no names, they have addressable hostnames in the form you see.
Comment 3 Patrick Silva 2020-05-05 15:37:22 UTC
(In reply to Harald Sitter from comment #2)
> What does "server-name" mean exactly? As far as I know SMB servers have no
> names, they have addressable hostnames in the form you see.

The hostname.
In my screenshots, Arch-PC and WIN7-PC.
Comment 4 Harald Sitter 2020-05-05 15:57:23 UTC
Right, but then this isn't really about SMB specifically but rather that you want dolphin to infer a pretty name from the fully qualified domain name. The current behaviour is the same for sftp/smb/ftp so changing it, I would think, equally applies to all remote protocols.