Bug 481720 - Could not delete /home/mine/��� .
Summary: Could not delete /home/mine/��� .
Status: RESOLVED DUPLICATE of bug 165044
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-23 11:51 UTC by René
Modified: 2024-03-08 18:06 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René 2024-02-23 11:51:31 UTC
SUMMARY
I discovered a file of unknown origin with the weird name ��� in my home folder. When I tried to delete it (permanently) the error message was shown as in summary. 

STEPS TO REPRODUCE
1. Open Konsole and create the weird file name with  'touch ''$'\372\365\311\003'
2. Open Dolphin and attempt to delete the file 

OBSERVED RESULT
Error message as in Summary and file not deleted.

EXPECTED RESULT
File deleted like usual

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Work around is to go to Konsole where you will discover the weird name's true spelling with 'ls' allowing you to delete it with 'rm'
Comment 1 Jonathan Marten 2024-02-23 12:48:30 UTC
Is this the problem of not being able to handle file names that are not valid UTF-8, bug 165044?
Comment 2 René 2024-02-25 13:27:03 UTC
Yes, it looks like a regression of that bug. I cannot rename nor delete the filename like I see in the various comments before the fix came out.
Comment 3 Nate Graham 2024-02-26 21:47:09 UTC

*** This bug has been marked as a duplicate of bug 165044 ***
Comment 4 Christoph Feck 2024-03-01 18:38:11 UTC
Is it a regression or was the LegacyCodec removed intentionally from kio5?