Bug 418984 - RenameDialog shows '%2520' in file name labels instead of '%20'
Summary: RenameDialog shows '%2520' in file name labels instead of '%20'
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.70.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL: https://codereview.qt-project.org/c/q...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-18 10:19 UTC by enno
Modified: 2020-07-02 21:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Dolphin shows strange names after dragging a file over a copy of it (87.37 KB, image/png)
2020-04-16 22:27 UTC, Toni Asensi Esteve
Details

Note You need to log in before you can comment on or make changes to this bug.
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.