BlenderQuickLook icon indicating copy to clipboard operation
BlenderQuickLook copied to clipboard

Big Sur

Open dz86 opened this issue 2 years ago • 6 comments

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

dz86 avatar Sep 28 '21 11:09 dz86

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.

schroef avatar Sep 28 '21 20:09 schroef

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

ddomino007 avatar Mar 17 '22 11:03 ddomino007

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.

duanemoody avatar Jun 02 '22 19:06 duanemoody

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.

ddomino007 avatar Jun 02 '22 19:06 ddomino007

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.

meermanr avatar Jan 06 '23 11:01 meermanr

--- 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

vike2000 avatar Dec 26 '23 20:12 vike2000