[Digikam-devel] [digikam] [Bug 358144] moving images with special characters in the file name does not work

Thomas Eschenbacher via KDE Bugzilla bugzilla_noreply at kde.org
Mon Jan 18 21:07:13 GMT 2016


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

--- Comment #3 from Thomas Eschenbacher <Thomas.Eschenbacher at gmx.de> ---
Interesting... after this patch I can see what was really wrong: there already
are files with the same name! This was not obvious because file names were not
shown in the Album view and no trace of an error message came out (before your
latest commit).

In such a case, where the target file already exists, I would expect a dialog
that shows both images as a thumbnail and offers the possibilities to
overwrite, skip ore rename the image, just as Dolphin does...

Now I moved the images per Dolphin (and renamed them), switched back to
digikam, and deleted the sub folder, which was empty now. The result was that
digikam crashed with this assertion:

QMetaObject::indexOfSignal: signal finished() from Digikam::ActionThreadBase
redefined in Digikam::DBJobsThread
QMetaObject::indexOfSignal: signal finished() from Digikam::ActionThreadBase
redefined in Digikam::DBJobsThread
digikam.general: Action Thread run  1  new jobs
digikam.general: Data From DBJobsThread is null:  true
digikam.general: Cancel Main Thread
digikam.general: One job is done
digikam.general: Using  4  CPU core to run threads
QMetaObject::indexOfSignal: signal finished() from Digikam::ActionThreadBase
redefined in Digikam::DBJobsThread
QMetaObject::indexOfSignal: signal finished() from Digikam::ActionThreadBase
redefined in Digikam::DBJobsThread
digikam.general: Action Thread run  1  new jobs
digikam.general: One job is done
digikam.general: Using  4  CPU core to run threads
QMetaObject::indexOfSignal: signal finished() from Digikam::ActionThreadBase
redefined in Digikam::IOJobsThread
digikam.general: Action Thread run  1  new jobs
digikam.iojob: DELETING:  "/home/user/Bilder/Z600/Z600/"  <====== here the
folder seems to be deleted
FILE EXISTS?  true 
IS TO TRASH?  true
digikam.iojob: Thread Finished
digikam.general: One job is done
digikam.general: QFileSystemWatcher detected change at
"/home/user/Bilder/Z600/Z600/"
digikam.general: Detected change, triggering rescan of directory
"/home/user/Bilder/Z600/Z600"
digikam.general: QFileSystemWatcher detected change at
"/home/user/Bilder/Z600/"
digikam.general: Detected change, triggering rescan of directory
"/home/user/Bilder/Z600/"
digikam.database: Starting scan!
digikam.database: Removed items: () related items: ()
digikam.database: Folder does not exist or is not readable: 
"/home/user/Bilder/Z600/Z600"   <======== yes, see above, I deleted it
digikam.general: Using  4  CPU core to run threads
QMetaObject::indexOfSignal: signal finished() from Digikam::ActionThreadBase
redefined in Digikam::DBJobsThread
QMetaObject::indexOfSignal: signal finished() from Digikam::ActionThreadBase
redefined in Digikam::DBJobsThread
digikam.general: Action Thread run  1  new jobs
ASSERT failure in QList::erase: "The specified iterator argument 'it' is
invalid", file /usr/include/qt5/QtCore/qlist.h, line 499

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



More information about the Digikam-devel mailing list