Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DjVu thumbnails in 2.0 doesn't work #96

Open
EvilPunker opened this issue Oct 29, 2024 · 8 comments
Open

DjVu thumbnails in 2.0 doesn't work #96

EvilPunker opened this issue Oct 29, 2024 · 8 comments

Comments

@EvilPunker
Copy link

I had previously installed DjVu Shell Extension Pack from Cuminas to generate DjVu thumbnails. I uninstalled it and updated DarkThumbs to version 2.0. I checked DJVU checkbox, but see no thumbnails for DjVu files. ePub & FB2 still work ok.

@fire-eggs
Copy link
Owner

The first question has to be whether you wiped the thumbnails cache. Windows caches the thumbnails (even those "blanks") and new formats such as DJVU won't appear until the cache has been cleared. Something DarkThumbs can't make happen on its own, alas.

@EvilPunker
Copy link
Author

EvilPunker commented Oct 29, 2024

The first question has to be whether you wiped the thumbnails cache.

Yes, i did, but it didn't help

@fire-eggs
Copy link
Owner

Righto. New feature, bound to be some teething troubles.

Could you provide one or two DJVU files that aren't working for you? So I can confirm it's not the support library at fault. After that, I'll make up a diagnostic version of DarkThumbs, if you're willing to give it a try.

@EvilPunker
Copy link
Author

EvilPunker commented Oct 29, 2024

Could you provide one or two DJVU files that aren't working for you? So I can confirm it's not the support library at fault. After that, I'll make up a diagnostic version of DarkThumbs, if you're willing to give it a try.

https://drive.google.com/file/d/1IrE5aQ5NQ4RvINqtCbDb5cbvaLZy_qoy/view?usp=sharing

Also tested file path and name. Doesn't affect at all - still no thumbnail

@fire-eggs
Copy link
Owner

fire-eggs commented Oct 29, 2024

Thank you for the file. It worked for me in my Windows 10 test:

image

I'll provide an update when I have diagnostics ready.

In the meantime, one test you could try would be to:

  1. Create a new folder (possibly consider doing so from the command line).
  2. Copy a number of DJVU files into that folder (again, possibly via the command line).
  3. View that folder in File Explorer, large icon mode or whatever to see if DarkThumbs creates thumbnails.

With a brand new folder, there "should" be no existing thumbnail cache.

@EvilPunker
Copy link
Author

3. View that folder in File Explorer, large icon mode or whatever to see if DarkThumbs creates thumbnails.

Did as you siad. Still no proper thumbnails. Added FB2 & ePub for control:
image

@EvilPunker
Copy link
Author

EvilPunker commented Oct 30, 2024

The problem is in this Registry key (I removed it and now see all DjVu covers)
Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\.djvu\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}

It overrides other key in
Computer\HKEY_CLASSES_ROOT\.djvu\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}

@fire-eggs
Copy link
Owner

Yup, after sleeping on it last night, I wondered if it might have been a Registry issue. Glad you found it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants