When View -> Side Pane -> Image Preview is checked, I am only presented with an icon where the preview should be. As soon as another image is selected, the icon goes away and the setting gets unchecked. I am on NixOS Hyprland so I'm unsure if I could just missing some dependency but I don't see it referenced anywhere in the documentation.
Designs
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
As soon as another image is selected, the icon goes away and the setting gets unchecked.
That sounds very weird. Which version of thunar do you run ? Check help --> about.
Recently there was a major refactoring of thunar thumbnailing in general, including the image preview ... so whatever it is, there are good chances that it got fixed in the dev releases meanwhile (thunar 4.19.1 and above).
Uh, you are right, there seems to be some ongoing weirdness with the Image Preview checkbox. Even on master, it will only appear checked, if there actually is a preview for the selected file ... I'll look into it.
Besides that, there is no special dependency for image preview to work. It uses tumbler to request xx-large thumbnails and shows them there.
You can check the folder ~/.cache/thumbnails (might be located somewhere else on NixOS). There should be a subfolder xx-large to which tumbler writes the preview images which are used by thunar. Does that folder exist ? (Is it re-generated when you delete it and enable image preview again + select some image?)
Just did some testing. There were three subdirs in ~/.cache/thumbnails, fail, large, normal.
When I deleted them, enabled image preview and selected an image I got the same icon. Only normal was recreated. I tried to copy the normal directory to xx-large for testing but it looks like the names are hashed so I'm assuming that's why that didn't work.
I tried to copy the normal directory to xx-large for testing but it looks like the names are hashed so I'm assuming that's why that didn't work.
Yea, that probably won't work .. I don't exactly remember if something else besides the file-path is hashed.
Hmm, so the question now is, does thunar refuse to request the thumbnails? Or does tumbler refuse to generate them? You can listen to the tumbler dbus service like this:
Then enable image preview in thunar and click on some image … if thunar sends a request, this should show some activity on the DBus for that file (request for the preview thumbnail).
Seems like thunar isn't making a request for the xx-large thumbs? This was the output of a dir with 2 images in with no .cache\thumbnails dir upon entering.
Installing thunar, should automatically install xfconf and uninstalling xfconf should as well uninstall thunar (and a bunch of other packages) ... that's how it works for e.g. debian, and imo that makes alot of sense.
Please report that missing dependency to the NixOS folks to prevent others falling into that trap.