0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Moderators: XnTriq, helmut, xnview

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

0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by masterjp »

I browsed a new folder with many jpeg pictures ( more than 100) and one thumbnail in browser view mode get a wrong orientation and the thumbnail image will be stretched. The original picture is in portrait format and xnviewmp detects the picture as landscape format and stretch the original picture to landscape format.

I tried different tests to find the reason for this error:

1. If I generate a new thumbnail in browser mode with the menue "view" => rebuild thumbnails, the new generated thumbnail image is correct.

2. I copied the original picture file to another directory and browse the folder again. The thumbnail is perfect.
Although I deleted the browser cache of xnviewmp and browse the same folder again. The thumbnail of the problematically file is okay.

My thumbnail size setting is 192x144 pixels (preset).

---

How to reproduce the problem:

1. Create a directory and copy only one picture file in it (*.jpg, *.png, etc.).
2. Open XnViewMP and start the browser view mode
3. Open the created directory (from point 1.)
4. Select the picture with the mouse
5. Press [STRG]+[C] (=copy)
6. Press [STRG]+[V] fast and many times to make many copies of the file (=insert)
7. After that xnviewmp automatically generates thumbs for all new files in the directory

Some of them are correct and some are wrong as you can see in my picture.
Clipboard 1.jpg
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.6 | XnViewMP 1.8.0 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net
User avatar
xnview
Author of XnView
Posts: 44451
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by xnview »

do you have the same problem with 0.90? could you send me the picture file used?
Pierre.
User avatar
masterjp
Posts: 449
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: 0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by masterjp »

Great idea.

I tried the same test with XnViewMP 0.90 and the thumbnails do not get stretched and are correct.

If I resize the original file to 600 x 800 pixels and try it again with beta 0.91 beta #4 , there won't be a problem.

The problem should be new since XnViewMP 0.91 beta.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.6 | XnViewMP 1.8.0 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net
User avatar
xnview
Author of XnView
Posts: 44451
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by xnview »

ok, this bug was introduced by this fix, will be fixed
Pierre.
User avatar
masterjp
Posts: 449
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: 0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by masterjp »

Fantastic! :-) Thank you.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.6 | XnViewMP 1.8.0 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net