[k3b] [Bug 428115] k3b silently drops files whose names contain special characters when adding to project

Albert Astals Cid bugzilla_noreply at kde.org
Sun Nov 8 21:41:39 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=428115

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/mult |https://invent.kde.org/mult
                   |imedia/k3b/commit/22b1d0939 |imedia/k3b/commit/b77897355
                   |a3e0bb944b0efaeaac15553b7b3 |ecbccb8492b7ee953dd147df4fb
                   |6066                        |699f

--- Comment #6 from Albert Astals Cid <aacid at kde.org> ---
Git commit b77897355ecbccb8492b7ee953dd147df4fb699f by Albert Astals Cid.
Committed on 08/11/2020 at 21:41.
Pushed by aacid into branch 'release/20.12'.

Warn when trying to add folders that contain unsupported filenames

In Qt anything that is not propertly utf8 is transparently not returned,
i.e. QDir will simply pretend the file doesn't exist.

This isn't ideal since people may be asuming a backup is totally done
since no error was reported and one file was not really copied.

This doesn't fix the fact that the file is not copied but at least warns
the file could not by found.

It does so by using KIO::listDir instead of QDir
(cherry picked from commit 22b1d0939a3e0bb944b0efaeaac15553b7b36066)

M  +10   -3    src/projects/k3bdataurladdingdialog.cpp

https://invent.kde.org/multimedia/k3b/commit/b77897355ecbccb8492b7ee953dd147df4fb699f

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list