Page 1 of 2

Broken EPS thumbnails from 22.40+

Posted: 12 Jan 2023 13:49
by Display
Hello,
I'm trying to enable EPS thumbnails (via Ardfry PSD Codec (never used it before)) but I think XYplorer might have broken itself in an update.

The EPS thumbnails are working correctly in Win10x64 Explorer and the thumbnail handler does have a registered x86 flavour in the registry.
The PSD/PSB extensionw are also working correctly in Explorer... AND XYplorer, so I'm a bit confused!

I wiped my .ini but no improvement.
So I booted up a Win10 x86 virtual machine and noticed the EPS thumbs ARE displayed in XY! But its an ooold version 17.
I updated it to the newest 23.90 and the thumbs failed to generate again.
After trying lotsss of different versions, it seems the EPS thumbnails stopped working at version 22.40

Downgraded my Win10 x64 install to 22.30 and sure enough, the EPS thumbnails are generating !

Hoping it's a simple bug or an easy fix for the next version :kidding:
-
230112_XYplorer_broken_EPS.png

Re: Broken EPS thumbnails from 22.40+

Posted: 12 Jan 2023 16:53
by Norn
Check out these updates and try again?

Code: Select all

v23.50.0012 - 2022-08-14 16:14
  !!! Thumbnails Cache: The cache would not work if Unicode characters were in the cache 
      path (not the cached path!), and that could even result in a crash on start up. 
      Shocking flaw!
      To make it work I had to completely rewrite the data file structure. The old DAT2 
      files were binary files and not human readable. The new INI files have the classic 
      INI-file format, are fully Unicode compliant, and can be visually checked easily and 
      even manually edited (though that needs some knowledge and is not really necessary 
      unless you are very bored).
      The old DAT2 files are still read (so in theory the transition should be smooth), 
      and then killed and replaced by the new INI files whenever the cache is updated. 
      After a while all DAT2 files should be gone.

Code: Select all

v23.70.0207 - 2022-11-05 10:47
    ! Floating Preview: Some inconsistencies with "Zoom to Fit" enabled. Fixed.
    ! Image and Video Preview: Undid that change from v23.70.0206. It brought new 
      problems.
      Since these problems differ with each Windows version and configuration (installed 
      preview handlers) each user has to find the setting that suits him best. These are 
      the 3 options, available as one-line scripts that can be run through the XYplorer 
      address bar:
        tweak("PreviewEarlyFactory", 0); //early factory for pdf, ttf, webp, for videos,
                                         //and for shell folder thumbnails (= XY Factory Default)
        tweak("PreviewEarlyFactory", 1); //early factory for all file types
        tweak("PreviewEarlyFactory", 2); //early factory for no file types
      To find out the current setting do this and look at the status bar:
        tweak("PreviewEarlyFactory");
      FYI, "factory" refers to the IShellItemImageFactory interface (from Vista onwards). 
      "Early factory" means: try the factory first, then fall back to other methods.

Code: Select all

v23.80.0207 - 2022-12-15 10:57
    + Time-Stamping: Time-stamping a file now ensures that the archive bit is set in that 
      file.
    * Thumbnails: The old DAT2 files (out of business since v23.50.0012 - 2022-08-14 
      16:14, but still supported till v23.80.0205 - 2022-12-13 18:55) are not compatible 
      anymore with the new internal thumbnails structures introduced with v23.80.0206 - 
      2022-12-14 16:10, and the support ends here.
      If you want to migrate old DAT2 thumbnails caches you can use a version from 
      v23.50.0012 to v23.80.0205 to convert DAT2 to the now used INI format.

Re: Broken EPS thumbnails from 22.40+

Posted: 12 Jan 2023 23:28
by Display
Thanks for the suggestions Norn!

I cleared the cache so there's no DAT2 (and tried disabling it to make sure I'm not getting old results) but it's like the EPS can't even start to generate their thumbnails.
I tried the PreviewEarlyFactory tweaks but none of them made a difference. I always have all preview handlers disabled as I don't use them - would preview handlers affect thumbnails in any way?

I booted up an old Win10 x64 VM of my old system which used "MysticThumbs" as the system thumbnailer - and that too fails to load the EPS thumbnails in anything above version 22.30

It's strange because both ArdfryPSD and MysticThumbs are able to decode their assigned PSD/PSB/AI/PDF etc. yet both fail at EPS

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 11:15
by admin
What about the Preview (e.g. on the Preview tab). Also broken from 22.40+ but working before?

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 11:49
by Display
Yep! Just tried it again and from 22.40 onwards the Preview pane displays 'Cannot preview.'

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 11:56
by admin
Try to add eps to this category:
Configuration | Preview | Previewed Formats | Category: Preview as Thumbnail

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 12:01
by Display
Added EPS to the Preview as Thumbnail category as you said (in Win10 x86 and x64 VMs) but still nothing :oops:

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 12:05
by admin
What do you get in the preview tab?

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 12:09
by Display
Cannot Preview text:
230113_XYplorer_CannotPreview.png

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 12:09
by admin
Strange. Do you get a preview / thumbnails in File Explorer?

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 12:14
by Display
Yep! It's working fine in Windows Explorer in both x86/x64. That's what I don't understand, the same thumbnail handler loads PSD/PSB/AI correctly in Explorer and XYplorer, but for some reason only EPS stopped working after 22.30
Edit:
The 'MysticThumbs' thumbnailer also displays the same behavior - all thumbs work, but once 22.40 is installed, only EPS stop being generated

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 13:10
by admin
I think I got it. Next beta should work. :party:

Re: Broken EPS thumbnails from 22.40+

Posted: 13 Jan 2023 13:14
by Display
:appl: Cool! Thank you, I'll definitely check it out!

Re: Broken EPS thumbnails from 22.40+

Posted: 14 Jan 2023 05:42
by Display
230114_XYplorer_EPS_awwyiss!.png
It's working again! Thank you so much :party:
Really impressive how quickly you fixed it, thanks again! :tup: :tup:

Re: Broken EPS thumbnails from 22.40+

Posted: 14 Jan 2023 09:41
by admin
Yeah! :)

Does this make any difference now?

Code: Select all

Try to add eps to this category:
Configuration | Preview | Previewed Formats | Category: Preview as Thumbnail