Bug 481720

Summary: Could not delete /home/mine/��� .
Product: [Applications] dolphin Reporter: René <rs>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cfeck, gabravier, jjm, kde, kfm-devel, nate, nicolas.fella
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:

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?