DavidPhillipOster / ThumbHost3mf

A macOS app that hosts a thumbnail provider that makes the Finder displays the thumbnails built in to some .gcode and .3mf files.
Apache License 2.0
115 stars 2 forks source link

Thumbnails not working in Finder search results #8

Closed markcarroll closed 5 months ago

markcarroll commented 5 months ago

Firstly, thank you for an awesome tool. Just what I was looking for.

Unfortunately there is one issue that I have found. While this does show the thumbnails in regular Finder views, it does not show them in the Finder search results. Instead, all I have there is the "zip" icon.

Reproduce:

  1. Go to Finder.
  2. In search bar type 3mf and click on "name contains"
  3. See results only show zip file icon
DavidPhillipOster commented 5 months ago

This is going to be difficult to fix, since I can't reproduce it on my mac.

Screenshot 2024-05-26 at 9 23 47 AM

The .zip icon means that some app has an Info.plist that provides a UTI (Uniform Type Identifier) that says that the .3mf file extension means that the file is a kind of zip file. That's true, but it also means that some app is providing information about the file extension. Odd that Finder is looking up its action one way for normal windows and a different way for search result windows.

markcarroll commented 5 months ago

Try switching to icon view. See what you get then.

And yes, I agree it is odd.

DavidPhillipOster commented 5 months ago

iconMode

Note that my thumbnailer only reads the thumbnails that the app that wrote the .3mf put into the .3mf. My thumbnailer doesn't interpret the 3d model itself. The files for the Prusa 2.5 are from before Prusa wrote embedded thumbnails into the files.

markcarroll commented 5 months ago

Closing this as it seems to work after a reboot. I also changed the default for 3MF files from OrcaSlicer to Bambu Studio. Not sure if that helped.

Thanks for looking and for the awesome tool.