Bug 487238

Summary: Dolphin titlebar shows samba-password when "Show full path in title bar" enabled
Product: [Applications] dolphin Reporter: Liz Lee <waynejwoww>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: dolphin-bugs-null, kdedev
Priority: NOR    
Version First Reported In: 24.02.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Liz Lee 2024-05-19 14:43:02 UTC
STEPS TO REPRODUCE
1. Open Dolphin
2. Enable "Show full path in title" in the settings
3. Open a samba-share, whose password has been stored in the string via klicking a link in the remote places section on the left panel.

OBSERVED RESULT
The window title shows the string with the password:

smb://exampleuser:examplepassword@192..../exampleshare

EXPECTED RESULT
The window title should omit the password in the string and anly show:

smb://exampleuser@192..../exampleshare



SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40, Kernel 6.8.9-300.fc40.x86_64, wayland
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Even in the address/location/navigation bar (or whatever it's called) the password is not visible (i guess for security reasons), as it omits the password from the string:

smb://exampleuser@192..../exampleshare
Comment 1 TraceyC 2024-11-04 21:43:37 UTC
I'm not able to replicate this with git-master
Can you see if this is still happening on your system with Plasma updated to 6.2? Thanks!
Comment 2 Liz Lee 2024-11-08 13:15:48 UTC
turns out it (only?) happens if you type in the address manually in the location bar in the format:
smb://user:password@192.../sharename

as soon as you hit [enter] the password is omitted from the adress in the _location_ bar, but the password still is included in the address shown in the _title_ bar.

i could not reproduce this behavious with shares whose addresses are stored e.g. as remote-entries in the places-list.
Comment 3 TraceyC 2024-11-12 18:13:57 UTC
Thanks for that additional detail. I can reproduce that behavior on Dolphin built from git-master.
Comment 4 Liz Lee 2025-08-20 08:49:17 UTC
bug still exists in delphon 25.08.0
Comment 5 TraceyC 2025-08-20 16:19:08 UTC
I set the Version First Reported In back to what it had been. Please don't change this. See the field descriptions here for an explanation
https://bugs.kde.org/page.cgi?id=fields.html