Thumbnails does not change the size correctly

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Thumbnails does not change the size correctly

Post by m.Th. »

When we change the size of the thumbnails and enter in a folder with already generated (cached) bigger/smaller (different size) thumbnails, the old size thumbnails appear but on the newer grid, making the screen unreadable.

Tested against XnView 2.00.

Steps to reproduce:

0. Have some folders with photos - let's say 'Folder1', 'Folder2' etc.
1. Set the thumbnail size to (say) 384 x 288
2. Go to 'Folder1' and leave XnView to finish the generation the thumbnails
3. Go to 'Folder2'
4. Change the thumbnail size to something smaller - 192x144
5. Go back to 'Folder1'

Expected: The size of the thumbnails would be 192x144, properly aligned in a 192x144 table

Actual: The size of the thumbnails is the old size (384x288) overlapping one on the another because they are aligned in a 192x144 grid.

The same effect appears when we change the thumnbnail size to a bigger one: small (old) thumbnails in the new (bigger) grid.

Implementation considerations:

IMHO when user enters in a folder the Cache Fetching routine should check the size of the thumbnails and if the size is different, update (invalidate) them.

An interesting case here is when the folder is the result of a query/search, hence each thumbnail can have a different size and the Cache Fetching subsystem should check the dimensions of each thumbnail.

Now I'm thinking if someone wants to keep some thumbnais at a certain size. It would make sense sometimes but then problems appear with the grid. So, it need fixing anyway.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Post Reply