Page 1 of 2

Wrong thumbnails orientation

Posted: 23 Aug 2018 14:33
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.

Re: Wrong thumbnails orientation

Posted: 23 Aug 2018 21:28
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.

Re: Wrong thumbnails orientation

Posted: 23 Aug 2018 22:31
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".

Re: Wrong thumbnails orientation

Posted: 23 Aug 2018 22:47
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!)

Re: Wrong thumbnails orientation

Posted: 23 Aug 2018 23:00
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.

Re: Wrong thumbnails orientation

Posted: 23 Aug 2018 23:13
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.

Re: Wrong thumbnails orientation

Posted: 23 Aug 2018 23:34
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 :)

Re: Wrong thumbnails orientation

Posted: 24 Aug 2018 00:02
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.

Re: Wrong thumbnails orientation

Posted: 24 Aug 2018 00:23
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 :)

Re: Wrong thumbnails orientation

Posted: 24 Aug 2018 12:58
by admin
Could you send me the images in question, please. You never know...

Re: Wrong thumbnails orientation

Posted: 24 Aug 2018 15:55
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).

Re: Wrong thumbnails orientation

Posted: 24 Aug 2018 18:39
by admin
Yes, that email is correct.

Re: Wrong thumbnails orientation

Posted: 24 Aug 2018 18:51
by John_C
admin wrote:Yes, that email is correct.
Done. Sent 1 minute ago.

Email title: "Image with incorrect thumbnail orientation"

Re: Wrong thumbnails orientation

Posted: 24 Aug 2018 19:11
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.

Re: Wrong thumbnails orientation

Posted: 24 Aug 2018 19:17
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.