[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 --- Comment #6 from Andrius--- This fug is fixed -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 caulier.gil...@gmail.com changed: What|Removed |Added Component|Preview |Database-Trash CC||caulier.gil...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 --- Comment #5 from Maik Qualmann--- Git commit 2d6880ab9cc7d9d714a767ff4be090fbb8092e7d by Maik Qualmann. Committed on 24/02/2017 at 17:34. Pushed by mqualmann into branch 'master'. fix compile QChar()->QLatin1Char() M +1-1libs/dtrash/dtrash.cpp https://commits.kde.org/digikam/2d6880ab9cc7d9d714a767ff4be090fbb8092e7d -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 Johannes Hirtechanged: What|Removed |Added CC||johannes.hirte@datenkhaos.d ||e --- Comment #4 from Johannes Hirte --- This leads now to the following compile error: /var/tmp/portage/media-gfx/digikam-/work/digikam-/libs/dtrash/dtrash.cpp: In static member function ‘static QString Digikam::DTrash::getAvialableJsonFilePathInTrash(const QString&, const QString&, int)’: /var/tmp/portage/media-gfx/digikam-/work/digikam-/libs/dtrash/dtrash.cpp:222:41: error: ‘QChar::QChar(char)’ is private within this context randomString.replace(0, 1, QChar('-')); ^ In file included from /usr/include/qt5/QtCore/qstring.h:48:0, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /var/tmp/portage/media-gfx/digikam-/work/digikam-/libs/dtrash/dtrash.h:29, from /var/tmp/portage/media-gfx/digikam-/work/digikam-/libs/dtrash/dtrash.cpp:24: /usr/include/qt5/QtCore/qchar.h:562:5: note: declared private here QChar(char c) Q_DECL_NOTHROW; ^ make[2]: *** [libs/dtrash/CMakeFiles/dtrash_src.dir/build.make:63: libs/dtrash/CMakeFiles/dtrash_src.dir/dtrash.cpp.o] Error 1 possible fix diff --git a/libs/dtrash/dtrash.cpp b/libs/dtrash/dtrash.cpp index 7b65f3844d..4eed798c3e 100644 --- a/libs/dtrash/dtrash.cpp +++ b/libs/dtrash/dtrash.cpp @@ -219,7 +219,7 @@ QString DTrash::createJsonRecordForFile(const QString& collectionPath, const QSt QString DTrash::getAvialableJsonFilePathInTrash(const QString& collectionPath, const QString& baseName, int version) { QString randomString = QUuid::createUuid().toString(); -randomString.replace(0, 1, QChar('-')); +randomString.replace(0, 1, QChar(0x2D)); randomString.chop(1); QString pathToCreateJsonFile = collectionPath + QLatin1Char('/') + QChar::fromLatin1() should work too -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 --- Comment #3 from Maik Qualmann--- Git commit 38e1582672ddd32bef4f0dbc3750654fdd128b07 by Maik Qualmann. Committed on 23/02/2017 at 18:50. Pushed by mqualmann into branch 'master'. use QUuid to generate random string for filename M +4-8libs/dtrash/dtrash.cpp https://commits.kde.org/digikam/38e1582672ddd32bef4f0dbc3750654fdd128b07 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 Mario Frankchanged: What|Removed |Added Version Fixed In|5.5 |5.5.0 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 Mario Frankchanged: What|Removed |Added Version Fixed In||5.5 CC||mario.fr...@uni-potsdam.de Latest Commit||https://commits.kde.org/dig ||ikam/f528f24b54894b271a4bee ||44a850b1ac46c10cc9 Resolution|--- |FIXED Status|REOPENED|RESOLVED -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 Maik Qualmannchanged: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED|REOPENED Version Fixed In|5.5.0 | CC||metzping...@gmail.com Ever confirmed|0 |1 Latest Commit|https://commits.kde.org/dig | |ikam/f528f24b54894b271a4bee | |44a850b1ac46c10cc9 | -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 Maik Qualmannchanged: What|Removed |Added Version Fixed In||5.5.0 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Latest Commit||https://commits.kde.org/dig ||ikam/f528f24b54894b271a4bee ||44a850b1ac46c10cc9 --- Comment #2 from Maik Qualmann --- Git commit f528f24b54894b271a4bee44a850b1ac46c10cc9 by Maik Qualmann. Committed on 22/02/2017 at 22:10. Pushed by mqualmann into branch 'master'. add random string to the trash filename to prevent another thread use the filename already FIXED-IN: 5.5.0 M +2-1NEWS M +10 -0libs/dtrash/dtrash.cpp https://commits.kde.org/digikam/f528f24b54894b271a4bee44a850b1ac46c10cc9 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 376815] Restore from Trash works incorrectly
https://bugs.kde.org/show_bug.cgi?id=376815 --- Comment #1 from wildcowboy--- Sometimes it renames the files the other way around. 20170201_183418_460.JPG 20170201_183418_4601.JPG instead of 20170201_183418_460.JPG 20170201_183418_460.DNG -- You are receiving this mail because: You are watching all bug changes.