[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:40:45 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
                   |                            |imedia/k3b/commit/22b1d0939
                   |                            |a3e0bb944b0efaeaac15553b7b3
                   |                            |6066
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from Albert Astals Cid <aacid at kde.org> ---
Git commit 22b1d0939a3e0bb944b0efaeaac15553b7b36066 by Albert Astals Cid.
Committed on 08/11/2020 at 21:40.
Pushed by aacid into branch 'master'.

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

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

https://invent.kde.org/multimedia/k3b/commit/22b1d0939a3e0bb944b0efaeaac15553b7b36066

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


More information about the k3b mailing list