Beta #4 - Thumbnail problem in browser mode with png files (HQ webp caching)

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
masterjp
Posts: 471
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Beta #4 - Thumbnail problem in browser mode with png files (HQ webp caching)

Post by masterjp »

I used the browser viewer in XnvIewMP 1.0 Beta #3 and scroll through my directory with jpg und png files.
There are some new files at the end of the window, which I wanted to see.
Some png files show a wrong thumbnail preview, because I scrolled the right slider to the bottom.

Here is a preview:



If I refresh the thumbnails with the function the view menu, everything looks correct.
Last edited by masterjp on Tue Apr 26, 2022 3:16 pm, edited 4 times in total.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Beta #3 - Fast scrolling in Browser viewer - thumbnail problem with png files

Post by xnview »

do you have same problem in previous version?
Pierre.
User avatar
masterjp
Posts: 471
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: Beta #3 - Fast scrolling in Browser viewer - thumbnail problem with png files

Post by masterjp »

The problem exists since XnViewMP 1.00 beta #1. I tried every beta version to get closer to the reason of the problem.
XnViewMP 0.99.7 works fine! The Plugin folder files do not produce the error :!:

I tried different scenarios:

1. XnViewMP 0.99.7 works fine! No problems.

2. XnViewMP 1.00 beta #4 with ZIP or JPEG compression for thumbnail cache WORKS FINE!!!

3. I copied all files and folders from the 'plugin' folder from XnViewMP 1.00 beta #4 to the older version 0.99.7.
No problems with thumbnails!

4. I copied the plugin folder from version 0.99.7 to XnViewMP 1.00 beta #1, 2, 3 and 4. => Problem exists!
I get the problem with different png files (32 bit true color pictures - maybe an alpha channel problem?!?)
24 bit color pictures look fine!

I will only see the wrong thumbnails of special png files, if I create the thumbnails with the XnViewMP 1.00 beta version.
At the first time I start the browser viewer window, all thumbnails are displayed correctly.
If I close XnViewMP and open the same folder in browser mode again,
I will see the wrong black and white line thumbnails from my screenshot.

So something in the viewing or loading sourcecode for thumbnails have been changed.
I use the thumbnail caching mode with WEBP quality.
Here is a sample file for testing.
Last edited by masterjp on Tue Apr 26, 2022 3:15 pm, edited 1 time in total.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Beta #3 - Fast scrolling in Browser viewer - thumbnail problem with png files

Post by xnview »

ok, i can reproduce. WebP library remove alpha channel when empty
Pierre.
User avatar
masterjp
Posts: 471
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: Beta #4 - Thumbnail problem in browser mode with png files (HQ webp caching)

Post by masterjp »

Great :D
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
Post Reply