Bug 522470 - The Permanent Deletion Confirmation window (Shift+Del) is displaying [ and ] as %5B and %5D
Summary: The Permanent Deletion Confirmation window (Shift+Del) is displaying [ and ] ...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.27.0
Platform: CachyOS Linux
: HI minor
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-06-30 21:37 UTC by Fernando Marcelino Muniz
Modified: 2026-09-04 19:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.30
Sentry Crash Report:


Attachments
Issue in Plasma (504.17 KB, image/png)
2026-06-30 21:37 UTC, Fernando Marcelino Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Marcelino Muniz 2026-06-30 21:37:47 UTC
Created attachment 193918 [details]
Issue in Plasma

STEPS TO REPRODUCE
Press Shift+Del on a file called [Blabla Bla]  [720p][H.264][AAC][EN].mp4

OBSERVED RESULT
It fails to show [ and ] correctly, making the file name hard to read.

EXPECTED RESULT
It should show the name of the file properly.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.1.2-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
Same issue as Bug 521748
Comment 1 Nate Graham 2026-08-18 18:12:37 UTC
Git commit 91289e16dfb161ee7b1001a1f31ef17649472d26 by Nate Graham.
Committed on 18/08/2026 at 18:08.
Pushed by ngraham into branch 'prettier-deletions-for-desktop-items'.

Don't show percent-encoded strings for items of desktop:/ IO worker

desktop:/ is our creation, not a standard thing, so these items don't
have a valid URL scheme from the perspective of QUrl::toDisplayString.
Thus it goes into a fallback path internally and returns something ugly.

To prevent that, the code here already handles it for trash:/ URLs;
let's extend the same thing to desktop:/ URLs.
FIXED-IN: 6.30

M  +1    -1    src/widgets/widgetsaskuseractionhandler.cpp

https://invent.kde.org/frameworks/kio/-/commit/91289e16dfb161ee7b1001a1f31ef17649472d26
Comment 2 Nate Graham 2026-08-19 13:09:57 UTC
Git commit e687138f41010f69596442d6a2958855e307c8db by Nate Graham.
Committed on 19/08/2026 at 13:09.
Pushed by ngraham into branch 'master'.

Don't show percent-encoded strings for items of desktop:/ IO worker

desktop:/ is our creation, not a standard thing, so these items don't
have a valid URL scheme from the perspective of QUrl::toDisplayString.
Thus it goes into a fallback path internally and returns something ugly.

To prevent that, the code here already handles it for trash:/ URLs;
let's extend the same thing to desktop:/ URLs.
FIXED-IN: 6.30

M  +1    -1    src/widgets/widgetsaskuseractionhandler.cpp

https://invent.kde.org/frameworks/kio/-/commit/e687138f41010f69596442d6a2958855e307c8db