1.6.4 - browser - thumbnails - cached size affects size of some thumbnails

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2410
Joined: Sat May 09, 2015 9:37 am

1.6.4 - browser - thumbnails - cached size affects size of some thumbnails

Post by user0 »

XnViewMP 1.6.4 64bit
Windows11 (23H2), display resolution 3840x2160, win scaling 150%


Browser - thumbnails
cached size affects size of some thumbnails

To reproduce:
0. run clean app with default settings (Thumbnail size is 128x96)
1. goto Settings > Catalog
- set Thumbnail caching size to some small value, eg 10x10
- press OK
2. restart app

issue A
3. open Browser
size of the following thumbnails should not be affected:
- folder icon
- txt, xmp
- video
a_browser_thumbnails_cache_size.png


issue B
images have strange 128px threshold
b_128_129.png
b_128_129.png (3.58 KiB) Viewed 1865 times


issue C
3. goto Settings > Catalog
- (optional) delete all Catalog records
- disable Catalog
- press OK
c_settings_catalog_thumbnails_cache_size_off.png
c_settings_catalog_thumbnails_cache_size_off.png (3.94 KiB) Viewed 1864 times
4. restart app
5. open Browser
thumbnails are still affected by 10x10px setting
Why?
Once Catalog is off thumb's size shall switch to Browser's menu value (default 128x96 in our case), not remain 10x10 (from Settings > Catalog > Thumbnail caching).
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.4 - browser - thumbnails - cached size affects size of some thumbnails

Post by xnview »

user0 wrote: Mon Jan 29, 2024 5:34 am
issue A
3. open Browser
size of the following thumbnails should not be affected:
- folder icon
- txt, xmp
- video
why, thumbnails are stored in catalog too
issue B
images have strange 128px threshold
b_128_129.png
what do you means?
issue C
3. goto Settings > Catalog
- (optional) delete all Catalog records
- disable Catalog
- press OK
c_settings_catalog_thumbnails_cache_size_off.png
4. restart app
5. open Browser
thumbnails are still affected by 10x10px setting
Why?
Once Catalog is off thumb's size shall switch to Browser's menu value (default 128x96 in our case), not remain 10x10 (from Settings > Catalog > Thumbnail caching).
I can't reproduce, thumbnails will be rebuilt
Pierre.
User avatar
user0
XnThusiast
Posts: 2410
Joined: Sat May 09, 2015 9:37 am

Re: 1.6.4 - browser - thumbnails - cached size affects size of some thumbnails

Post by user0 »

A
xnview wrote: Thu Feb 01, 2024 3:12 pm why, thumbnails are stored in catalog too
it looks like representation issue, not storage, check how my filelist looks below (top row is folders)
I think the correct behaviour:
- mentioned object types shall be shown at current thumb size (128x96), not 10x10
- cached thumb (10x10) shall stretch to the current thumb size (128x96) as it happens already
a_browser.png


B
xnview wrote: Thu Feb 01, 2024 3:12 pm what do you means?
2 almost identical files (128x128 and 129x129) should not have such radically different thumbs
b_test_img.zip
(474 Bytes) Downloaded 66 times


C
xnview wrote: Thu Feb 01, 2024 3:12 pm I can't reproduce, thumbnails will be rebuilt
nope, clean unzipped version
Thumbs return to normal (size and resolution) only if 'Enable thumbnails caching' checkbox is unchecked and manual 'Rebuild thumbnails' in Browser (or goto other folder / app restart).
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.4 - browser - thumbnails - cached size affects size of some thumbnails

Post by xnview »

i understand but not so easy :D

- Non image files, right, thumbnail should be stretched
- Image files:

Catalog: 10x10, Thumbnail: 128x128

If we have image file :
- 256x256 => stretched to 128x128
- 8x8 => not stretched
- 90x90 => should be stretched to 90x90 and not 128x128
Pierre.
User avatar
user0
XnThusiast
Posts: 2410
Joined: Sat May 09, 2015 9:37 am

Re: 1.6.4 - browser - thumbnails - cached size affects size of some thumbnails

Post by user0 »

xnview wrote: Fri Feb 02, 2024 8:28 am - Image files:

Catalog: 10x10, Thumbnail: 128x128

If we have image file :
- 256x256 => stretched to 128x128
- 8x8 => not stretched
- 90x90 => should be stretched to 90x90 and not 128x128
right, agree
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.4 - browser - thumbnails - cached size affects size of some thumbnails

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.4 - browser - thumbnails - cached size affects size of some thumbnails

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.6.5. Please check and confirm the bug fix here.
Pierre.
User avatar
user0
XnThusiast
Posts: 2410
Joined: Sat May 09, 2015 9:37 am

Re: 1.6.4 - browser - thumbnails - cached size affects size of some thumbnails

Post by user0 »

fixed in 165
Post Reply