Bug 299026 - Rename and delete not working when filename contains special characters
Summary: Rename and delete not working when filename contains special characters
Status: RESOLVED DUPLICATE of bug 204768
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-29 11:00 UTC by comet.friend
Modified: 2012-04-29 13:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Filename with special character: Should be Gepäckliste_Skifahren.txt (7.73 KB, image/png)
2012-04-29 11:04 UTC, comet.friend
Details

Note You need to log in before you can comment on or make changes to this bug.
Description comet.friend 2012-04-29 11:00:36 UTC
As a long-yeared Linux user I've migrated data from various systems with various file systems to my respective target platform. Currently I am on Slackware64-current (based on 13.37) using ext4. In the past I have also used OpenSUSE and others, with ReiserFS, ext3 and even FAT.

One of my old files is named Gepäckliste.txt. This is one the files that I have been maintaining for a long while. It helps me to not forget anything when I am preparing my next travel (job or holiday). As you can see, the filename contains an umlaut: ä.

While Dolphin has no problems with special characters, overall, it doesn't display the filename of this old file correctly, and it doesn't allow me to rename or delete it. The options for renaming and deletion are available in the context menu, but selecting them has no effect. On the CLI I have no problem to rename or delete the file, or to move it to another location.

BTW, this is a long-yeared bug, and I am bit surprised that I didn't find a ticket for it in the bug database.

Reproducible: Always

Steps to Reproduce:
1. Create a file on another system with a different file system, such as FAT, and give it a name containing a special character, such as an umlaut: ä, ö, ü or ß. The locale should be set to support CP-852 or ISO 8859-1 character sets or similar. I assume, that it actually doesn't matter much, but Just don't use UTF-8.
2. Copy the file over to a system with ext4 and UTF-8 support.
3. Open the folder with the file in Dolphin. You should immediately see the problem.
4. Try to rename or delete the file within Dolphin.
Actual Results:  
Renaming and deleting the file is not possible.

Expected Results:  
File is renamed or deleted.
Comment 1 comet.friend 2012-04-29 11:04:54 UTC
Created attachment 70748 [details]
Filename with special character: Should be Gepäckliste_Skifahren.txt
Comment 2 Christoph Feck 2012-04-29 12:44:54 UTC
Which program created that file? If Dolphin shows the name wrongly, then the program which created the file did not support UTF-8 file names.

*** This bug has been marked as a duplicate of bug 204768 ***
Comment 3 comet.friend 2012-04-29 13:05:53 UTC
I don't recall it, but it was some text editor. Maybe VIM. The file is quite old, but I would assume that VIM had UTF-8 support already, at that time, but the file system or the overall system was set to something less, then, probably, and VIM just used the locale.