Blender thumbnail generation for Explorer is broken in 2.9x #84599

Closed
opened 2021-01-11 16:04:40 +01:00 by Alex · 20 comments

System Information
Intel Core 2 Quad, 8 Gb RAM, NVidia GeForce GTX 1070 8GB
Windows 7 x64

Blender Version
Broken: 2.90, 2.91, 2.92
Worked: 2.83

Short description of error
It seems that thumbnail generation for Explorer for .blend files is broken because I cannot generate thumbnails for my .blend files when thumbnails are registered to Blender 2.9x. When I register my thumbnails to 2.83 or take the BlendThumb.dll file and replace it in my 2.9 folder, thumbnails starts to work again. I have tested this with 2.9, 2.91, 2.92 Alpha as well as 2.83 and I'm absolutely sure that there is nothing wrong with my registry because I have removed Blender 2.83 folder entirely and thumbnails still work but only when I replace BlendThumb.dll in 2.9x folder with the same file taken from 2.83, I've also did a thorough search through my registry to make sure that there is nothing pointing to the wrong place.

Exact steps for others to reproduce the error

  1. Open cmd, navigate to your Blender 2.9x directory (for example C:\Blender290) and use “blender -R” command to register your thumbnails.
  2. Create a new file, save it, open your Explorer and you will see no thumbnail for it.
  3. Either navigate to your Blender 2.83 directory (for example C:\Blender283) and use “blender -R” command to register your thumbnails again OR copy and paste BlendThumb.dll from that directory to your Blender 2.9x directory.
  4. Refresh your Explorer and you will see thumbnail being generated properly.
**System Information** Intel Core 2 Quad, 8 Gb RAM, NVidia GeForce GTX 1070 8GB Windows 7 x64 **Blender Version** Broken: 2.90, 2.91, 2.92 Worked: 2.83 **Short description of error** It seems that thumbnail generation for Explorer for .blend files is broken because I cannot generate thumbnails for my .blend files when thumbnails are registered to Blender 2.9x. When I register my thumbnails to 2.83 or take the BlendThumb.dll file and replace it in my 2.9 folder, thumbnails starts to work again. I have tested this with 2.9, 2.91, 2.92 Alpha as well as 2.83 and I'm absolutely sure that there is nothing wrong with my registry because I have removed Blender 2.83 folder entirely and thumbnails still work but only when I replace BlendThumb.dll in 2.9x folder with the same file taken from 2.83, I've also did a thorough search through my registry to make sure that there is nothing pointing to the wrong place. **Exact steps for others to reproduce the error** 1. Open cmd, navigate to your Blender 2.9x directory (for example C:\Blender290) and use “blender -R” command to register your thumbnails. 2. Create a new file, save it, open your Explorer and you will see no thumbnail for it. 3. **Either** navigate to your Blender 2.83 directory (for example C:\Blender283) and use “blender -R” command to register your thumbnails again **OR** copy and paste BlendThumb.dll from that directory to your Blender 2.9x directory. 4. Refresh your Explorer and you will see thumbnail being generated properly.
Author

Added subscriber: @SpectreFirst

Added subscriber: @SpectreFirst

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I tried with 2.92.0 Alpha, branch: master, commit date: 2021-01-03 01:04, hash: 1e8f266591
But I can't reproduce the problem.

It may be incompatible with the default version of Blender on your computer.
Which directory appears in DefaultIcon in the registry editor (regedit.exe) at HKEY_LOCAL_MACHINE\SOFTWARE\Classes\blendfile\DefaultIcon?

It may also be that you already have another copy of BlendThumb.dll in your system's search path and regsvr32 may be choosing that copy instead of the current directory.

Run the command Regsvr32 /u BlendThumb.dll in the cmd and try again.

I tried with 2.92.0 Alpha, branch: master, commit date: 2021-01-03 01:04, hash: `1e8f266591` But I can't reproduce the problem. It may be incompatible with the default version of Blender on your computer. Which directory appears in DefaultIcon in the registry editor (regedit.exe) at `HKEY_LOCAL_MACHINE\SOFTWARE\Classes\blendfile\DefaultIcon`? It may also be that you already have another copy of `BlendThumb.dll` in your system's search path and `regsvr32` may be choosing that copy instead of the current directory. Run the command `Regsvr32 /u BlendThumb.dll` in the cmd and try again.
Author
  • I did a search through my registry and there are several places with BlendThumb.dll all pointing to blender-2.91-windows64 folder
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\blendfile\DefaultIcon is also pointing to blender-2.91-windows64\blender.exe", 1
  • I did Regsvr32 /u BlendThumb.dll and thumbnails stopped working as they should
  • Registered again with blender -R with original BlendThumb.dll from 2.91 and nothing has changed
  • Tried BlendThumb.dll from the latest 2.92 and nothing has changed as well
  • Only when I replaced BlendThumb.dll with the file taken from 2.83 archive my thumbnails have started to work again. If I replace with a file from 2.90, 2.91 or 2.92 they stop, when I replace with 2.83 version they start working again, all in the same blender-2.91-windows64 folder, I don't even have to register anything, I'm just replacing the file and updating my Explorer to see the result so I'm absolutely sure there are no other places or entries in the registry.

I don't have any other folders except blender-2.91-windows64 and I'm always registering to the same blender-2.91-windows64 folder but it only seems to work with the file taken from 2.83. This is the first time I have this problem because prior to 2.9 I was I never had this problem.

- I did a search through my registry and there are several places with BlendThumb.dll all pointing to blender-2.91-windows64 folder - HKEY_LOCAL_MACHINE\SOFTWARE\Classes\blendfile\DefaultIcon is also pointing to blender-2.91-windows64\blender.exe", 1 - I did Regsvr32 /u BlendThumb.dll and thumbnails stopped working as they should - Registered again with blender -R with original BlendThumb.dll from 2.91 and nothing has changed - Tried BlendThumb.dll from the latest 2.92 and nothing has changed as well - Only when I replaced BlendThumb.dll with the file taken from 2.83 archive my thumbnails have started to work again. If I replace with a file from 2.90, 2.91 or 2.92 they stop, when I replace with 2.83 version they start working again, all in the same blender-2.91-windows64 folder, I don't even have to register anything, I'm just replacing the file and updating my Explorer to see the result so I'm absolutely sure there are no other places or entries in the registry. I don't have any other folders except blender-2.91-windows64 and I'm always registering to the same blender-2.91-windows64 folder but it only seems to work with the file taken from 2.83. This is the first time I have this problem because prior to 2.9 I was I never had this problem.
Author

Just in case, I will clarify how I test this:

  1. I have only one folder which is blender-2.91-windows64
  2. I create a new file called test.blend, save it, observe it in Explorer with a thumbnail (currently I have BlendThumb.dll from 2.83 in 2.9 folder).
  3. Take BlendThumb.dll from 2.9 archive and replace it in my blender-2.91-windows64 folder, save the test file, refresh the Explorer and my test.blend file turns into an icon.
  4. Take BlendThumb.dll from 2.91 or 2.92 archive, replace BlendThumb.dll, save the test file, refresh the Explorer and nothing changes.
  5. Take BlendThumb.dll from 2.83, replace BlendThumb.dll, save the test file, refresh the Explorer and test.blend icon turns into a thumbnail as it should.

EDIT:
I have also tried the same thing on another computer with almost identical system as mine which never had Blender before and found out a very peculiar thing - I've registered my Blender 2.83.10 or 2.9 and they have registered file associations but were unable to display thumbnails but when I've added 2.79b and registered it, my thumbnails began to display even after I re-register them to 2.91. I've tried to remove 2.79b folder and thumbnails stopped working again so I've searched my registry and found out that there are several Blender Thumbnail Handler still pointing to 2.79b, I've tried to manually change every entry to 2.91 and it didn't work. My primary computer doesn't even have 2.79b folder or any records of it in my registry but thumbnails still work with 2.83 and don't with 2.9. Frankly I don't understand what's going on but it looks like there is something in new Blender which doesn't get registered with blender -R command that used to register in 2.79b

EDIT2:
I have isolated the the problem between Blender 2.81a which does work and generate thumbnails and Blender 2.82a which do not. When I have both 2.81a and 2.82a folders, thumbnails work even when registered to 2.82 and stop when I remove 2.81, when I use only 2.81 they work.

Just in case, I will clarify how I test this: 1. I have only one folder which is blender-2.91-windows64 2. I create a new file called test.blend, save it, observe it in Explorer with a thumbnail (currently I have BlendThumb.dll from 2.83 in 2.9 folder). 3. Take BlendThumb.dll from 2.9 archive and replace it in my blender-2.91-windows64 folder, save the test file, refresh the Explorer and my test.blend file turns into an icon. 4. Take BlendThumb.dll from 2.91 or 2.92 archive, replace BlendThumb.dll, save the test file, refresh the Explorer and nothing changes. 5. Take BlendThumb.dll from 2.83, replace BlendThumb.dll, save the test file, refresh the Explorer and test.blend icon turns into a thumbnail as it should. EDIT: I have also tried the same thing on another computer with almost identical system as mine which never had Blender before and found out a very peculiar thing - I've registered my Blender 2.83.10 or 2.9 and they have registered file associations but were unable to display thumbnails but when I've added 2.79b and registered it, my thumbnails began to display even after I re-register them to 2.91. I've tried to remove 2.79b folder and thumbnails stopped working again so I've searched my registry and found out that there are several Blender Thumbnail Handler still pointing to 2.79b, I've tried to manually change every entry to 2.91 and it didn't work. My primary computer doesn't even have 2.79b folder or any records of it in my registry but thumbnails still work with 2.83 and don't with 2.9. Frankly I don't understand what's going on but it looks like there is something in new Blender which doesn't get registered with blender -R command that used to register in 2.79b EDIT2: I have isolated the the problem between Blender 2.81a which does work and generate thumbnails and Blender 2.82a which do not. When I have both 2.81a and 2.82a folders, thumbnails work even when registered to 2.82 and stop when I remove 2.81, when I use only 2.81 they work.

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Author

Today I've got a new computer with Windows 10 on it and the problem was exactly the same - when I've registered to 2.91 or 2.92 it didn't work but registering to 2.79 and 2.81 worked immediately like it should so it seems that this is not exclusive to Windows 7.

Intel i9-10850k, 32 Gb Ram, NVidia GeForce GTX 1070 8GB, Windows 10

Today I've got a new computer with Windows 10 on it and the problem was exactly the same - when I've registered to 2.91 or 2.92 it didn't work but registering to 2.79 and 2.81 worked immediately like it should so it seems that this is not exclusive to Windows 7. Intel i9-10850k, 32 Gb Ram, NVidia GeForce GTX 1070 8GB, Windows 10
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Iirc, there have been changes again to thumbnail generation [cannot test this myself, I am on linux].

@SpectreFirst : just checking if this is still an issue with fresh builds from https://builder.blender.org/download/daily/?

Iirc, there have been changes again to thumbnail generation [cannot test this myself, I am on linux]. @SpectreFirst : just checking if this is still an issue with fresh builds from https://builder.blender.org/download/daily/?
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

Also there's a button in the prefs panel to register the thumb+.blend association give that a try as well

{F10559907, width=100%}

I don't remember exactly when this landed, could be it's only available in the 3.0 daylies

Also there's a button in the prefs panel to register the thumb+.blend association give that a try as well {[F10559907](https://archive.blender.org/developer/F10559907/image.png), width=100%} I don't remember exactly when this landed, could be it's only available in the 3.0 daylies
Author

I have tested the latest stable build 2.93.4 (downloaded archived Blender to a fresh new computer, unpacked, registered with Blender -R command) and thumbnails did showed up right away so it looks like something was indeed fixed in the latest builds.

And speaking of Operating System Settings - yes, it is presented in 3.0 alpha but not presented in 2.93.

I have tested the latest stable build 2.93.4 (downloaded archived Blender to a fresh new computer, unpacked, registered with Blender -R command) and thumbnails did showed up right away so it looks like something was indeed fixed in the latest builds. And speaking of Operating System Settings - yes, it is presented in 3.0 alpha but not presented in 2.93.
Member

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Philipp Oeser self-assigned this 2021-10-14 10:20:56 +02:00
Member

In #84599#1229625, @SpectreFirst wrote:
I have tested the latest stable build 2.93.4 (downloaded archived Blender to a fresh new computer, unpacked, registered with Blender -R command) and thumbnails did showed up right away so it looks like something was indeed fixed in the latest builds.

And speaking of Operating System Settings - yes, it is presented in 3.0 alpha but not presented in 2.93.

Guess this can be closed then.

> In #84599#1229625, @SpectreFirst wrote: > I have tested the latest stable build 2.93.4 (downloaded archived Blender to a fresh new computer, unpacked, registered with Blender -R command) and thumbnails did showed up right away so it looks like something was indeed fixed in the latest builds. > > And speaking of Operating System Settings - yes, it is presented in 3.0 alpha but not presented in 2.93. Guess this can be closed then.

Added subscriber: @Leroy-Xie

Added subscriber: @Leroy-Xie

This comment was removed by @Leroy-Xie

*This comment was removed by @Leroy-Xie*

Added subscriber: @DAILUTEN

Added subscriber: @DAILUTEN

for blender 3.0 i opened CMD as admin an tap

chdir C:\Program Files\Blender Foundation*Blender 3.0* for me and enter

blender -r and enter again, it load and it was ok

w.PNG

x.PNG

for blender 3.0 i opened CMD as admin an tap chdir C:\Program Files\Blender Foundation\**Blender 3.0** for me and enter blender -r and enter again, it load and it was ok ![w.PNG](https://archive.blender.org/developer/F12780310/w.PNG) ![x.PNG](https://archive.blender.org/developer/F12780313/x.PNG)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#84599
No description provided.