[Bug 510018]

2019-06-11 Thread Strangiato Xanadu
Well, now at least I can rename and then delete the file. :)

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2019-06-11 Thread Strangiato Xanadu
test plan from comment 173 fails on Arch Linux after upgrade to frameworks 5.59.
Dolphin says "The file or folder /tmp/test-�[U+10FE7F]�.txt does not exist."

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2019-05-21 Thread Cfeck
Git commit 6738a8b2f71c527f30a624b0b560f79d992715d3 by Christoph Feck.
Committed on 21/05/2019 at 11:05.
Pushed by cfeck into branch 'master'.

[kioslave/file] Add a codec for legacy filenames

UNIX filenames can contain any bytes (except \0 and /).
Qt's QFile::decodeName() calls QString::fromLocal8Bit(), assuming that all
filesystems use the system's locale encoding. For filenames that have been
created with a different encoding, and have not yet been converted (e.g. using
convmv), this creates non-reversible U+FFFD (REPLACEMENT CHARACTER)
code points in the filenames.

For example, some old-style archives might not contain any information about
the encoding of the filenames, and even today archivers extract them without
trying to convert to the locale's encoding.

While full support for those filenames is not needed, Dolphin should at least
be able to delete, rename, and move those files. Since all actual (local) file
handling is done inside the file kioslave, patching Dolphin will not help.

This code is a near verbatim copy of the code we had in kdelibs, written by
Szókovács Róbert. Only minor adaptions to Qt5 were done. It decodes invalid
bytes as U+10FExx from Plane 16 (Supplementary Private Use Area-B) to be able
to encode them later.

Dolphin could detect filenames with those characters, and either mark them
(by color or overlay icon), or even automatically offer to rename them.
Related: bug 204768

TEST PLAN

touch "/tmp/test-"$'\377'".txt"
dolphin /tmp

Copying and deleting a test file worked with this code, failed without.

Reviewers: dfaure, Frameworks, Dolphin

Reviewed by: dfaure

Differential Revision: https://phabricator.kde.org/D18161

M  +1-1src/ioslaves/file/CMakeLists.txt
M  +8-0src/ioslaves/file/file.cpp
A  +174  -0src/ioslaves/file/legacycodec.cpp [License: LGPL (v2+)]
A  +66   -0src/ioslaves/file/legacycodec.h [License: LGPL (v2+)]

https://commits.kde.org/kio/6738a8b2f71c527f30a624b0b560f79d992715d3

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2019-04-22 Thread Strangiato Xanadu
(In reply to Szokovacs Robert from comment #170)
> It is in deed a regression, the fix depended on a QT feature that was
> removed in 5.x, iirc.

Is there a report in Qt tracker asking for bring back this feature
removed in 5.x?

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2019-04-22 Thread deja_vu
unsubscribe

> Gesendet: Donnerstag, 18. April 2019 um 00:05 Uhr
> Von: "Nathan Shearer" 
> An: pulvermac...@gmx.de
> Betreff: [kdelibs] [Bug 165044] Dolphin can't handle well files/folders with 
> wrong encoding
>
> https://bugs.kde.org/show_bug.cgi?id=165044
>
> Nathan Shearer  changed:
>
>What|Removed |Added
> 
>  CC||kde-20091112@nathanshearer.
>||ca
>
> --- Comment #166 from Nathan Shearer  ---
> 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 are receiving this mail because:
> You are on the CC list for the bug.

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2019-04-22 Thread Ivo Anjo
(In reply to Nathan Shearer from comment #166)
> 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.

Hello there -- I'm the original reporter of this bug.

Since this one is marked as fixed, my suggestion would be to open a new
bug report, as the issue you saw may be a regression, rather than the
same as this bug, and it helps keep the discussion focused.

Also, if possible, my suggestion is to also include an archive that
triggers this issue as an attachment, so developers can quickly jump on
this one.

Happy KDE'ing and happy easter everyone!

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2015-07-12 Thread Victor
*** Bug 349996 has been marked as a duplicate of this bug. ***

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2015-07-05 Thread Cfeck
*** Bug 349898 has been marked as a duplicate of this bug. ***

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2015-05-09 Thread Cfeck
*** Bug 237817 has been marked as a duplicate of this bug. ***

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2013-02-25 Thread Frank78ac
*** Bug 315715 has been marked as a duplicate of this bug. ***

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2013-02-25 Thread RalfGesellensetter
Am Donnerstag, 21. Februar 2013 schrieben Sie:
> All Qt applications have this bug. Because KDE
> uses Qt library it means also all KDE applications are affected and because
> Dolphin is KDE application, that's why it is affected. This bug mentions just
> Dolphin, but all KDE and Qt apps have this bug. The file, you can't work with
> in Doplhin, can't be opened by any KDE nor Qt application.

Hi and thanks for clarification.

1) My approach was to use another file manager in order to
fix broken file names, so just replace dolphin.

2) Yesterday, I had a malformed file name, and in Dolphin it
was not possible to copy it to another folder. However, I
could open that (PDF) file from Dolphin into Okular, then
I saved a copy as new file, and could also remove the
file with broken file name from within Dolphin.

dolphin --version
Qt: 4.8.2
KDE: 4.8.4 (4.8.4)
Dolphin: 2.0

But this was no Umlaut. Just double checked, and still malcoded
Umlauts are displayed like  and transscribed like this when
you drag&drop file names to non-KDE applications or Konsole.

Rather than sending plain (flatterned) file names to KDE apps,
it could be considered to sending direct inode references 
within QT/KDE applications, couldn't it?

3) Next test: I installed xfe (+package xfe-i18n) as alternative
file manager. Interestingly, xfe displays "broken" umlauts
correctly (auto detection?), and passes the file name
string correctly to xpdf, so the file opens as it should.

But right you are: No chance to send it to okular.

Accordingly, file names have actually to be fixed before
they will work with KDE. 

Is there a bug, "KDE can't handle file names beyond official encoding"?
There should probably be some legacy switch for this support, as
filenames containing binary code might compromise applications
when parsing them from environment.

Kind regards
Ralf

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2013-02-25 Thread Michal Hlavinka
(In reply to comment #138)
> we should make more people vote for this bug in order to draw more attention
> to it. This bug is indeed annoying, but it is possible to drop dolphin
> without
> dropping KDE. 

Seems you don't understand this bug. It's not a bug in dolphin. It's not
a bug in KDE. It's bug in Qt library. All Qt applications have this bug.
Because KDE uses Qt library it means also all KDE applications are
affected and because Dolphin is KDE application, that's why it is
affected. This bug mentions just Dolphin, but all KDE and Qt apps have
this bug. The file, you can't work with in Doplhin, can't be opened by
any KDE nor Qt application.

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2013-02-25 Thread RalfGesellensetter
Am Mittwoch, 20. Februar 2013 schrieb Hans-Peter Jansen
> Nobody reads this bug report, nobody cares. Thiago removed himself from CC 
> list
> a lng time ago, so you can target your comment to him, but he won't read
> it.

Hello,

we should make more people vote for this bug in order to draw more attention
to it. This bug is indeed annoying, but it is possible to drop dolphin without
dropping KDE. 

What file manager is working with you? I use mc all the time in such cases,
and for copying anyway (because of the time stamp bug).

Kind Regards
Ralf

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2013-02-25 Thread Michal Hlavinka
Hans-Peter Jansen: You're wasting your breath ;)

See comment #118 : https://bugs.kde.org/show_bug.cgi?id=165044#c118

Nobody reads this bug report, nobody cares. Thiago removed himself from
CC list a lng time ago, so you can target your comment to him, but
he won't read it.

I think this project needs someone like Linus Torvalds. When someone in
kernel would make a change breaking userspace program with comment
"applications should get fixed", Linus would yell at him about being
arrogant stupid ... a*hole (Linus would be using even stronger words)
and he would prevent such change. It's always pity when library does not
care about real world.

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2013-02-25 Thread Andras Mantia
Why blaming KDE for something that is in Qt (even if the respective
developer is both a Qt and KDE person)? Read comments #118 and #122, if
not everything.

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018]

2013-02-25 Thread geneiros
I too consider this atitude very wrong...

i left using KDE among other things because of wrong code in
files...initially i used terminal to change names, but after some time i
simply quit...changed to gnome...

You have to resolve this, because the world is not only english :)

-- 
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-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 510018] Re: Cannot delete file with bad filename

2010-03-06 Thread Harald Sitter
** Package changed: dolphin (Ubuntu) => kdebase (Ubuntu)

-- 
Cannot delete file with bad filename
https://bugs.launchpad.net/bugs/510018
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.

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