[kde] [Bug 508345] New: File with specific kind of filename can't be deleted or extracted with Ark
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sat Aug 16 16:06:15 BST 2025
https://bugs.kde.org/show_bug.cgi?id=508345
Bug ID: 508345
Summary: File with specific kind of filename can't be deleted
or extracted with Ark
Classification: I don't know
Product: kde
Version First unspecified
Reported In:
Platform: EndeavourOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: kimimaru at posteo.net
Target Milestone: ---
Created attachment 184146
--> https://bugs.kde.org/attachment.cgi?id=184146&action=edit
Buggy filename inside the zip.
SUMMARY
Given a file with the filename:
دبكة لبنان - ÙÂ_يروز و
نصرى شمس الدين .Ø.txt
The file becomes very difficult to work with, with weird behavior ranging
across various parts of KDE. It can't be moved to the trash, and I could not
extract it with Ark until someone sent the file to me directly which I presume
escapes some characters in there.
A txt file with this name cannot be created directly on the Desktop or in
Dolphin. However, you can create a file with any other name then rename it to
this.
When attempting to move to trash, the error message is:
"Could not write to file /home/user/.local/share/Trash/info/دبكة
لبنان - ÙÂ_يروز و نصرى شمس
الدين .Ø.txt.trashinfo"
When attempting to zip the file with Ark, it says it completed but it actually
did not do anything.
STEPS TO REPRODUCE
1. Create a new txt file either in Dolphin or the Desktop named "a.txt".
2. Rename the file to "دبكة لبنان -
ÙÂ_يروز و نصرى شمس الدين
.Ø.txt"
OBSERVED RESULT
The file can't be created directly but could be renamed to this name.
Once created, the file can't be moved directly to the trash.
Trying to create a zip archive with Ark with this filename doesn't work but the
notification says it succeeds.
EXPECTED RESULT
The file is clearly a valid filename, otherwise it shouldn't be able to exist
on my ext4 filesystem. It should be just as easy to work with as any other
file.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 6.16.0-arch2-1 (64-bit)
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
ADDITIONAL INFORMATION
My filesystem is ext4.
There are a lot of strange effects from working with a file named like this, so
I listed just some of the symptoms associated with it.
I've attached a zip with the file so you can see for yourself.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list