Creation of Empty File In Thumbnail Mode

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".
Post Reply
Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Creation of Empty File In Thumbnail Mode

Post by Enternal »

I have an image file that has an accent on it. Whenever I switched over to thumbnail mode, XYplorer creates a new file with the same name except the character with the "invalid" accent is removed. However, the resultant file is an empty file. All you have to do is just unpack the photo I uploaded here somewhere. Switch to any thumbnail mode and you will see it create the empty file.
To see the attached files, you need to log into the forum.

klownboy
Posts: 4481
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Creation of Empty File In Thumbnail Mode

Post by klownboy »

I downloaded the jpg [Kampfer.jpg - this is how it looked - cut and pasted - after download and also in WinRar] and placed it in an empty folder and then created thumbnails in 2 different sizes but did not see any unusual behavior and viewing the thumbnails was fine. A new thumbnail cache file was created for each thumbnail size as it should. Note, I did not see any accents on the down loaded file. Was it stripped somehow / somewhere?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Creation of Empty File In Thumbnail Mode

Post by bdeshi »

Note, I did not see any accents on the down loaded file. Was it stripped somehow / somewhere?
WinRAR (at least v5) displays and extracts with accents (Kämpfer.jpg).
However, even when it's called Kämpfer.jpg, no thumb-mutilation happens... :?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: Creation of Empty File In Thumbnail Mode

Post by Enternal »

Hmm... that's odd. I had this problem for a very long time but never actually reported. I tried it with a fresh install as well and this is the file that is created:
2015-01-08 10_42_05-Desktop - XYplorer 14.80.0004 - [FRESH].png
Kämpfer.jpg is the original file and XYplorer created the Kampfer file without the accent. It's not even in correct case. Also when you retry showing it in thumbnails mode, make sure the cache for the specific location is cleared. If it's not cleared, it will work fine. It only happens when the cache file for the specific location does not exist.
Here are the details of the file.
2015-01-08 10_42_28-Desktop - XYplorer 14.80.0004 - [FRESH].png
Guess I will do some more test to find why it always happen to me.
To see the attached files, you need to log into the forum.

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: Creation of Empty File In Thumbnail Mode

Post by Enternal »

So after some more testing, it seems that the issue is with my locale. It works on my other locale but the 2 computers that it has problems on has this locale:

Code: Select all

System Locale ID: 1041 (ja-JP)
Thread Locale ID: 1033 (en-US)
Default ANSI Code Page: 1252  (ANSI - Latin I)
Active Code Page: 932   (ANSI/OEM - Japanese Shift-JIS)
DBCS Code Page: Yes
I then switch to a computer that did not have this problem (locale is completely in English) and then switched the locale to the above. Interestingly on this computer with the switched locale, I can view the image in thumbnails view and it did not create the empty file. However if I preview the image in the preview tab, it creates that empty file again. Don't know why on this computer it did not do it in the thumbnails view but only when viewing the image in the preview tab.

Either way, when I'm in the locale I posted above, the preview tab shows:
Clipboard-20150108.png
In my normal all English locale, it shows the image meta data correctly. Only in this locale will it show that error.
To see the attached files, you need to log into the forum.

Post Reply