[digikam] [Bug 377719] Cannot rename file with overwrite [patch]

Simon bugzilla_noreply at kde.org
Thu Apr 27 22:45:52 BST 2017


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

--- Comment #9 from Simon <freisim93 at gmail.com> ---
(In reply to Maik Qualmann from comment #7)
> digikam.database: No location could be retrieved for
> "file:///daten/Bilder/Zugang/2017-03-08/Screenshot-004.jpg"

The offending part for this is:


    QString destFile = d->currentInfo.first.toString(QUrl::RemoveFilename) +
d->currentInfo.second;
    // refresh thumbnail
    ThumbnailLoadThread::deleteThumbnail(destFile);
    // clean LoadingCache as well
    LoadingCacheInterface::fileChanged(destFile);

This was previously executed before the tests in a separate function, however
it should be at the exact same position regarding real actions. Commenting
these lines out makes the error disappear and has not perceivable downside. Any
idea what these commands are for?

> digikam.general: Video file 
> "file:///daten/Bilder/Zugang/2017-03-08/Screenshot-004.jpg"  does not exist.
> 
> digikam.general: Failed to extract video thumbnail for 
> "file:///daten/Bilder/Zugang/2017-03-08/Screenshot-004.jpg"

I have no idea yet what this Video business is about.

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


More information about the Digikam-devel mailing list