Bug 418984

Summary: RenameDialog shows '%2520' in file name labels instead of '%20'
Product: [Frameworks and Libraries] frameworks-kio Reporter: enno <enno.nagel>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED UPSTREAM    
Severity: normal CC: a.samirh78, kdelibs-bugs, krusader-bugs-null, toni.asensi
Priority: NOR    
Version: 5.70.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: https://codereview.qt-project.org/c/qt/qtbase/+/306324
Latest Commit: Version Fixed In:
Attachments: Dolphin shows strange names after dragging a file over a copy of it

Description enno 2020-03-18 10:19:32 UTC
SUMMARY


STEPS TO REPRODUCE
1. Create a file `~/%20`
2. Select this file
3. Press the F5 key

OBSERVED RESULT

Krusader proposes to copy ~/%2520

EXPECTED RESULT

Krusader proposes to copy the selected file ~/%20

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0
Qt Version: 5.9.7

ADDITIONAL INFORMATION

This seems to affect other QT applications; for example, Dolphin also shows the string file:///home/user/%2520
Comment 1 Toni Asensi Esteve 2020-04-16 22:27:14 UTC
Created attachment 127597 [details]
Dolphin shows strange names after dragging a file over a copy of it

Dolphin shows strange names after dragging a file over a copy of it.

The present bug report is not really about Krusader, but about frameworks-kio.
Comment 2 Ahmad Samir 2020-06-02 21:36:46 UTC
FTR, https://invent.kde.org/frameworks/kio/-/merge_requests/29
Comment 3 Ahmad Samir 2020-07-02 21:01:01 UTC
Fixed upstream https://codereview.qt-project.org/c/qt/qtbase/+/306324, FTR the fix should be in Qt 5.15.1.

It's not feasible to fix this one occurrence here, when toDisplayString() is used all over the place; the proper fix is to wait for your distro to update to Qt 5.15.1.