Bug 329773 - Thumbnail of picture in dolphin never updated after picture manipulation if file's modification time kept
Summary: Thumbnail of picture in dolphin never updated after picture manipulation if f...
Status: RESOLVED NOT A BUG
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: thumbnail (show other bugs)
Version: 4.11.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-01-09 19:19 UTC by Nicofo
Modified: 2018-09-30 08:49 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicofo 2014-01-09 19:19:12 UTC
+++ This bug was initially created as a clone of Bug #329608 (that bug was for the digikam part) +++

The thumbnail of pictures are not updated after picture manipulation outside dolphin if the file's modification time is kept (for instance rotation in digikam).

Reproducible: Always

Steps to Reproduce:
1. In dolphin, activate the preview mode in a directory containing pictures
2. Modify a picture and ensure the file's modification time is not updated (I use digikam to rotate a picture)
3. Go back to dolphin -> the picture thumbnail is never refreshed (even after F5). However the preview in the information panel is correct ->  see attachment below [the preview in the right is correct ; the thumbnail in the left is not].
-> attachment 84456 [details] : https://bugs.kde.org/attachment.cgi?id=84456

If I rename or move the picture -> the thumbnail is recreated and is correct.
If I re-rename the file to its original name -> the thumbnail is incorrect again.
If I "touch" (command line) the picture -> the thumbnail is recreated and is correct.

Remark:
There is no problem if the file's modification time is updated.
However, manipulate a picture and not touch to the file's modification time is a common use case (especially for pictures if you want to preserve pictures order for instance) and must be taken into account.
Comment 1 Nate Graham 2018-06-29 21:29:24 UTC
Is this still an issue with KDE Frameworks 5.47
Comment 2 Andrew Crouthamel 2018-09-28 03:11:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Nicofo 2018-09-29 21:11:31 UTC
I tested again with KDE Frameworks 5.48 and the behaviour is exactly the same as in the original bug report comment #1

Picture thumbnail never updated in main view of Dolphin (when timestamp not changed).
The strange thing is that the picture is well updated in the Information Panel.
Comment 4 Rog131 2018-09-30 08:46:04 UTC
The 'Thumbnail of picture in dolphin never updated after picture manipulation if file's modification time kept' is intentional as told by the Thumbnail Managing Standard - https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-0.8.0.html

...and there 7. Detect Modifications - https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-0.8.0.html#MODIFICATIONS

"One important thing is to assure that the thumbnail image displays the same information than the original, only in a downscaled version. To make this possible we use the modification time stored in the required 'Thumb::MTime' key and check if it's equal the current modification time of the original. If not we must recreate the thumbnail."
Comment 5 Rog131 2018-09-30 08:49:48 UTC
(In reply to Nicofo from comment #3)
> 
> The strange thing is that the picture is well updated in the Information
> Panel.


The Dolphin Information panel is not using the thumbnail cache. The preview image is made as needed.