Bug 508149 - URL strings are not decoded in file dialogs
Summary: URL strings are not decoded in file dialogs
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-12 04:03 UTC by Mr. Argparse
Modified: 2025-08-25 02:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Dialog showing the encoded filename (25.07 KB, image/png)
2025-08-18 17:31 UTC, TraceyC
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mr. Argparse 2025-08-12 04:03:32 UTC
Hi folks, so recently I noticed that when accessing ftp or smb paths, the url string remains url encoded which is an issue with files that have square brackets for instance.


STEPS TO REPRODUCE
1. Create a file with a character that would get encoded in a URL
2. Try deleting that file or moving it to a folder where it already exists
3. Dialog will display the encoded url

OBSERVED RESULT
The filepath string remains url encoded.

EXPECTED RESULT
The string should show as decoded as it would in a web browser for instance or any other file manager.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-08-13 17:30:54 UTC
Thanks for the bug report. Please provide the information requested in the template:

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

Thanks.
Comment 2 Mr. Argparse 2025-08-16 15:03:07 UTC
(In reply to TraceyC from comment #1)
> Thanks for the bug report. Please provide the information requested in the
> template:
> 
> SOFTWARE/OS VERSIONS
> (available in the Info Center app, or by running `kinfo` in a terminal
> window)
> Linux/KDE Plasma: 
> KDE Plasma Version: 
> KDE Frameworks Version: 
> Qt Version: 
> 
> Thanks.

For sure my bad:

Archlinux: Linux kernel 6.16

KDE Plasma Version: 6.4.4

KDE Frameworks Version: 6.17.0 

Qt Version: 6.9.1
Comment 3 TraceyC 2025-08-18 17:30:48 UTC
Thanks for the info. 

I'm able to reproduce this on Dolphin built from git-master 
I didn't see it on 25.04.3 on Fedora 42
Both were using the same Samba share

The bug doesn't happen with local files
Comment 4 TraceyC 2025-08-18 17:31:26 UTC
Created attachment 184215 [details]
Dialog showing the encoded filename
Comment 5 Mr. Argparse 2025-08-25 02:44:51 UTC
(In reply to TraceyC from comment #3)
> Thanks for the info. 
> 
> I'm able to reproduce this on Dolphin built from git-master 
> I didn't see it on 25.04.3 on Fedora 42
> Both were using the same Samba share
> 
> The bug doesn't happen with local files

Yes does not occur with local files only but only with url-like strings.