Thumbnails are not updated

Bug #1041633 reported by Arturo Torres Sánchez
116
This bug affects 26 people
Affects Status Importance Assigned to Milestone
Files
Fix Released
Medium
Viko Adi Rahmawan

Bug Description

Thumbnails are just generated once for each file, even after it is modified.

Example 1:
I create a drawing in Inkscape. After some progress, I save it. If Files is open, it will generate a thumbnail with my current progress. But if I keep making changes to my drawing and saving it, Files will do nothing, and the thumbnail will be misleading, making me think my changes were not saved at all.

Example 2:
I move a photo to a new folder. The photo gets its thumbnail as expected. But If I delete it, and then move a different photo with the same filename to the same folder, the thumbnail will be the one of the first photo (which no longer exists). If I'm not careful, I might think the photo is the one I wanted to delete, and delete it again by mistake.

Solutions would include periodically refreshing thumbnails, or looking for changes in each file and then refresh them.

Related branches

Changed in pantheon-files:
status: New → Confirmed
Revision history for this message
Dirk Mcbratney (djmcbratney) wrote :

Yeah, I think the file manager hears from gamin to track changes on the filesystem, which is how it updates the file list in an open window. So thumbnails could be handled the same way, as they are in Nautilus. I miss the feature; working with a batch of images that I've cropped differently, etc., and reminding myself to distinguish them by the filename and not the big pretty thumbnail is counter-intuitive to say the least.

Cody Garver (codygarver)
Changed in pantheon-files:
milestone: none → 0.2
importance: Undecided → Medium
Revision history for this message
Hlobil Vaclav (vaclav-hlobil) wrote :

This could be solved similar as in Chrome browser. With Ctrl+R pushed repeatedly (twice or more), thumbnails should be regenerated.

Revision history for this message
Arturo Torres Sánchez (r2d2.art2005) wrote :

I don't agree. Thumbnails should be updated automatically. I wouldn't remember such a shortcut.

Revision history for this message
Viko Adi Rahmawan (vikoadi) wrote :

the code should already detect file changes and and update thumbnails. Its more like a bug than a new features. I will try to fix this.

Changed in pantheon-files:
assignee: nobody → Viko Adi Rahmawan (vikoadi)
Revision history for this message
Viko Adi Rahmawan (vikoadi) wrote :

current branch will remove changed file from thumbnail from cache, the new thumbnail will the be generated.
there is still problem when you remove one file and than paste file with same name.
it should be fixed by connecting to file removing and renaming, i will try tomorrow.

Changed in pantheon-files:
status: Confirmed → In Progress
Revision history for this message
Lewis Goddard (lewisgoddard) wrote :

Has there been any progress over the last month?

Revision history for this message
Viko Adi Rahmawan (vikoadi) wrote :

still in progress.
see branch review.
i'll work on it tonight

RabbitBot (rabbitbot-a)
Changed in pantheon-files:
status: In Progress → Fix Committed
Cody Garver (codygarver)
Changed in pantheon-files:
milestone: 0.2 → isis-beta1
Daniel Fore (danrabbit)
Changed in pantheon-files:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers