Wrong thumbnails orientation

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
John_C
Posts: 336
Joined: 16 May 2018 20:04

Wrong thumbnails orientation

Post by John_C »

It seems there is a bug with thumbnails orientation.

I have a folder with some photos.

I have these settings:

Code: Select all

Configuration | Thumbnails | - Cache thumbnails on disk   = Off
                             - Auto-rotate thumbnails     = Off
                             - Quality                    = High Speed
I also tried to manually remove "Thumbnails" folder - just for testing.

The issue is that some thumbnails shown incorrectly. Here it is:
thumbs_bug.png
Image backup: https://imgur.com/a/1kOLmnX

So, is it a bug?

And are there any workarounds to fix this issue without switching from "High Speed" to "Fast"/"Crisp"/"Smooth"?

Why it behaves so strange?

(In default Windows file manager (Windows Explorer) thumbnails shown correctly).

XYplorer 19.10, Windows 7.
To see the attached files, you need to log into the forum.
Last edited by John_C on 23 Aug 2018 23:19, edited 2 times in total.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Wrong thumbnails orientation

Post by LittleBiG »

What you have just found is actually an ancient thing. If you have time to read back, you can find the explanation, because I have reported this and after that I could find a meaningful explanation. I hope I remember correctly, because it was couple of years ago . (If I don't, you have to read back for sure.) This is not XYplorer issue. Try to delete the image preview from the image file itself using an appropriate software. Yes, sometimes the preview is saved into the file to make things faster. And high speed shows that. In the end I settled to use the setting "Fast" instead of always removing the preview from the file.

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Wrong thumbnails orientation

Post by John_C »

LittleBiG wrote:...
Hi! Thanks for your reply.

I manually checked all your topics, but haven't found any about this problem.

However, I found several topics of other users where you mentioned this problem:
Here are some quotes from second link:
highend wrote:
Ok, it seems I can confirm that bug.

It does happen in Windows 7 but e.g not in Windows 8.1 (or Server 2012 R2).

It doesn't matter if your using your (outdated) version or the latest official one. Both show the same behavior (at least for the picture that geoffyates uploaded): Wrong orientation and 1/5 of the bottom image has either a black bar or a different part of the same picture...

You have to wait until Don sees this thread
Then, Don confirmed that it works fine on Windows 8.1, but stated that he doesn't have Win7. There wasn't any replies from him in that topic.
LittleBiG wrote:
you have to remove the thumbnail from the jpg, for example, using exiftool and this command:

Code: Select all

exiftool -thumbnailimage= FILE
After that you will get the correct thumbnail.
The end of quotes here.

So, there is an ancient issue (back to 2012-2011 or even earlier) which is still isn't fixed. You said:
This is not XYplorer issue. ... Yes, sometimes the preview is saved into the file to make things faster. And high speed shows that.
But Windows Explorer shows previews extremely fast and orientation is always correct. For that reason, I can't agree that "this is not XYplorer issue".
Last edited by John_C on 23 Aug 2018 23:36, edited 1 time in total.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Wrong thumbnails orientation

Post by LittleBiG »

But Windows Explorer shows previews extremely fast and orientation is always correct. For that reason, I can't agree that "this is not XYplorer issue".
No, the consquence is not that. It just means that the Windows Explorer and XYplorer "High speed" option use different algorithm to show the preview.

(And thanks for searching!)

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Wrong thumbnails orientation

Post by John_C »

LittleBiG wrote:...
Another related thing, which should be taken in consideration is that (probably! I'm not sure) sometimes, to see the correct thumbnails, the user should use "High Speed" instead of "Fast" quality:
Faster Thumbnails: Thumbnail quality is preset to “High Speed” (Configuration | Thumbnails | Quality). However, it turns out that on some systems the setting “Fast” is actually faster than the setting “High Speed”. Play with it to find out what’s fastest on your system.

From XYplorer Usage Tips
I'm still with my point. The current behaviour (buggy and moreover - inconsistent!) is an issue of XYplorer. I understand, switching to another thumbnail algorithm is probably quite hard task. But the current algorithm is definitely isn't reliable and isn't ready for general user.
Last edited by John_C on 23 Aug 2018 23:23, edited 1 time in total.

jupe
Posts: 3570
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Wrong thumbnails orientation

Post by jupe »

John_C wrote:I understand, switching to another thumbnail algorithm is probably quite hard task.
When you select "Fast" mode, it is a different algorithm, so you already have a choice, and you have already said you get the correct results you want from it, so just use that.

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Wrong thumbnails orientation

Post by John_C »

jupe wrote:When you select "Fast" mode, it is a different algorithm, so you already have a choice, and you have already said you get the correct results you want from it, so just use that.
I'm afraid that sometimes, to see the correct thumbnails, the user should use "High Speed" instead of "Fast" (because "High Speed" will be actualy slower, see the quote from Usage Tips above).

Of course, I can't said it precisely - it should be tested on different Windows versions.

So:

1. If "Fast" is ALWAYS gives correct thumbnails - then "High Speed" is actually somewhat like experimental unstable feature and (probably) it will be a good idea to warn users (like me!) about it inside user interface.

2. If SOMETIMES "Fast" gives INCORRECT thumbnails and "High Speed" gives CORRECT ones (as I described above, see "I'm afraid of..") - then we have just 2 buggy algorithms.

// Capital letters aren't my emotions :)

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Wrong thumbnails orientation

Post by LittleBiG »

Just do not forget, that the wrong thumbnail was not saved into the image file by XYplorer. XY just shows that preview using the High Speed algorithm. The culprit is a PC or camera software.

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Wrong thumbnails orientation

Post by John_C »

LittleBiG wrote:Just do not forget, that the wrong thumbnail was not saved into the image file by XYplorer. XY just shows that preview using the High Speed algorithm. The culprit is a PC or camera software.
Yes, thanks :) But two points mentioned in the bottom of my previous message are still valid :)

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wrong thumbnails orientation

Post by admin »

Could you send me the images in question, please. You never know...

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Wrong thumbnails orientation

Post by John_C »

admin wrote:Could you send me the images in question, please. You never know...
I should send it to support@xyplorer.com, correct?

(I tried to send it as private message, but it seems forum engine doesn't allow to send ZIP-files via private messages. I don't want to send it as JPG because in such case metadata could be lost/changed during uploading/downloading. That's why I want to send it as ZIP).

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wrong thumbnails orientation

Post by admin »

Yes, that email is correct.

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Wrong thumbnails orientation

Post by John_C »

admin wrote:Yes, that email is correct.
Done. Sent 1 minute ago.

Email title: "Image with incorrect thumbnail orientation"
Last edited by John_C on 24 Aug 2018 19:11, edited 1 time in total.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wrong thumbnails orientation

Post by admin »

Got it. All looks good here.

Auto-rotate thumbnails ON: The guy stands alright in all 4 thumb modes.
Auto-rotate thumbnails OFF: The guy lies on his back in all 4 thumb modes.

So, that's a bug in some of your preview thumbnail handlers.

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Wrong thumbnails orientation

Post by John_C »

admin wrote:Got it. All looks good here.

Auto-rotate thumbnails ON: The guy stands alright in all 4 thumb modes.
Auto-rotate thumbnails OFF: The guy lies on his back in all 4 thumb modes.
Hm. Here is a quote from one old thread (I already mentioned it above):
Ok, it seems I can confirm that bug. It does happen in Windows 7 but e.g not in Windows 8.1 (or Server 2012 R2).
I use Windows 7 (32-bit, Service Pack 1). Probably you tested it in Windows 8.1 and/or Windows 10, that's why everything works correct in your case.

Post Reply