Opened 3 years ago

Last modified 13 months ago

#17742 new bug

Add a means to easily update an image thumbnail

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by humdinger)

This is hrev56098.

  • Open an image that already has a thumbnail in an editor (ArtPaint, Wonderbrush...).
  • Doodle a bit and save the image.

-> Tracker still shows the original thumbnail/icon

Can we have some automatism to re-generate a thumbnail? Or, if that's not possible, how would a software tell Tracker to re-generate the thumbnail of the image it is going to save?

Currently an "Identify" from the context menu only works if you have removed a Thumbnail attribute manually before. I suppose it should always re-generate thumbnails.

Change History (7)

comment:1 by humdinger, 3 years ago

Description: modified (diff)

comment:2 by humdinger, 3 years ago

Type: bugenhancement

comment:3 by waddlesplash, 3 years ago

Type: enhancementbug

Thumbnails should already automatically update when the file changes, so the fact that they do not is indeed a bug.

If you close/reopen the Tracker window for the directory, does it update then?

comment:4 by humdinger, 3 years ago

Hmm, now after rebooting, the thumbnail does get updated if I do an "Identify". Indeed, I only have to right-click anywhere in the Tracker window to conjure up a context menu, and the thumbnail is updated.
Is that good enough, or is it supposed to update by itself when modified?

comment:5 by waddlesplash, 2 years ago

It should update by itself when modified. Possibly there is a missing invalidation call somewhere...

comment:6 by waddlesplash, 13 months ago

Please retest after hrev57428.

comment:7 by humdinger, 13 months ago

Nope. The thumbnail still doesn't update on its own after saving.

Only after right-clicking anywhere in the Tracker window or closing and reopening the image's parent folder, the thumbnail gets re-generated. I checked with "catattr Media:Thumbnail:CreationTime test.png", it's not a matter of Tracker updating the display, the thumbnail itself wasn't updated until right-click etc.

Note: See TracTickets for help on using tickets.