vicro / BlenderQuickLook

A Quick Look Plugin for generating Blender3D file thumbnails.
MIT License
45 stars 2 forks source link

Big Sur #4

Open dz86 opened 3 years ago

dz86 commented 3 years ago

Doesn't work when blender installed. And works without blender (uninstalled) Big Sur Thanks

schroef commented 3 years ago

thats one weird description though! Having blender installed should not matter, it is irrelevant!

Perhaps also state what version of Blender your using. I noticed they are adding new method for thumbnails, perhaps due to that change this quicklook extension stopped working.

BenjiThatFoxGuy commented 2 years ago

doesn't work on 3.1, 3.0 monterey catalina and Big Sur, intel and m1 regardless doesn't work at all, because macOS reads the placeholder thumbnail from the blender install so removing blender makes it work because that's when macOS starts relying on the quicklook extension again it's a bummer because windows has this right out of the box, and without a workaround to make macOS ignore what blender tells it then this quicklook extension might never work

duanemoody commented 2 years ago

doesn't work on 3.1, 3.0 monterey catalina and Big Sur, intel and m1 regardless doesn't work at all

The Blender file format changed enough from 2.x to 3.x that this QL plugin no longer recognizes the contents.

BenjiThatFoxGuy commented 2 years ago

doesn't work on 3.1, 3.0 monterey catalina and Big Sur, intel and m1 regardless doesn't work at all

The Blender file format changed enough from 2.x to 3.x that this QL plugin no longer recognizes the contents.

you sure that's the problem? without the QL plugin, 2.8 and older don't even generate the blender icon for me and so the QL plugin works fine then. so I assumed blender after the 3.0 update just started overriding the QL preview, because there's now a blender icon for .blend filetypes. the 2.8 projects no longer display the preview either and it's fault of 3.0 installed. like I said in my previous reply. so I think we need a way to disable that blender override.

meermanr commented 1 year ago

I noticed that the Info.plist files of Blender 3.3, 3.4, and 3.5-alpha declare the

            <key>UTTypeIdentifier</key>
            <string>org.blenderfoundation.blender.file</string>

While this QuickLook plugin declares it differently in both LSItemContentTypes and UTTypeIdentifier:

                <string>org.blender.blend</string>

Could this be causing a conflict?

FWIW, changing ~/Library/QuickLook/BlenderQuickLook.qlgenerator/Contents/Info.plist to use org.blenderfoundation.blender.file and running qlmanage -r didn't resolve my issue: still no thumbnails or quicklook previews.

vike2000 commented 11 months ago
--- Info—original.plist 2023-12-26 21:21:03.000000000 +0100
+++ Info—changed.plist  2023-12-26 21:10:29.000000000 +0100
@@ -13,8 +13,7 @@
            <string>QLGenerator</string>
            <key>LSItemContentTypes</key>
            <array>
-               <string>org.blender.blend</string>
-               <string>dyn.ah62d4rv4ge80e5dfr3wa</string>
+               <string>org.blenderfoundation.blender.file</string>
            </array>
        </dict>
    </array>
@@ -87,9 +86,9 @@
                <string>public.item</string>
            </array>
            <key>UTTypeDescription</key>
-           <string>Blender3D file</string>
+           <string>Blender file</string>
            <key>UTTypeIdentifier</key>
-           <string>org.blender.blend</string>
+           <string>org.blenderfoundation.blender.file</string>
            <key>UTTypeTagSpecification</key>
            <dict>
                <key>public.filename-extension</key>

with these changes, having the .qlgenerator in /Library/QuickLook, on macOS High Sierra 10.13.6, using an example .blend file saved by Blender 3.3.1, it works in the Finder and Terminal qlmanage -d 4 -p path/to/file.blend