I just extracted an archive which contained a file that I could not
copy/edit/move/rename/delete with dolphin. The file was simple readme
file inside a nested subdirectory called L'$'\351''ame.html'

The error messages in dolphin were extremely vague and did not indicate
in an way that KDE and QT are incapable by design of handling files with
these encoding. They did not inform the user why the file was causing
these problems or even hint that they needed to be renamed in a terminal
because of a WONTFIX on this bug.

The only reason I knew what to do is because I encountered this bug
years ago when operations on these files actually worked. Any normal
user will have absolutely no idea what to do, and higher level systems
will not handle these failures gracefully when these directory
structures can't be modified because of a simple filename.

The file or folder L'$'\351''ame.html' does not exist.
 - This is _false_ it does exist!
Could not delete file L'$'\351''ame.html'.
 - No reason provided whatsoever. The user will not know how to solve this 
problem.
Could not remove folder "".
 - All other files deleted, but the nested file was ignored leaving the user 
confused.

This is ridiculous.

It might be a lot of work, but a solution to this problem would be to
store these strings as a tuple, where there is a degraded and user-
friendly version of the string and the original unmodified string. If no
changes are made to the string, use the original unmodified string. If
the user decides to change the string, then they are interacting with
the degraded version and deciding to keep that new string.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in Ubuntu.
https://bugs.launchpad.net/bugs/510018

Title:
  Cannot delete file with bad filename

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/510018/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to