PNG Thumbnails not showing in Asset Browser and Addons --MacOS-- #107650

Closed
opened 2023-05-05 15:00:55 +02:00 by Guido · 23 comments

System Information
Operating system: macOS-13.3.1-x86_64-i386-64bit 64 Bits
Graphics card: Metal API AMD Radeon Pro 5700 XT 1.2

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-05-04 17:27, hash: e858aa7181aa

Short description of error
Thumbnails that are .png files are not getting displayed in Addons && Asset-Browser (when applying custom preview to an asset)

I checked each addon thumbnail and custom previews for file specification & it turns out only .png files get ditched.
I tried to open and "re-save" some png files with different applications with no difference.

**System Information** Operating system: macOS-13.3.1-x86_64-i386-64bit 64 Bits Graphics card: Metal API AMD Radeon Pro 5700 XT 1.2 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-05-04 17:27, hash: `e858aa7181aa` **Short description of error** Thumbnails that are .png files are not getting displayed in Addons && Asset-Browser (when applying custom preview to an asset) I checked each addon thumbnail and custom previews for file specification & it turns out only .png files get ditched. I tried to open and "re-save" some png files with different applications with no difference.
Guido added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-05-05 15:00:56 +02:00

Look like duplicate of #107212

Look like duplicate of https://projects.blender.org/blender/blender/issues/107212
Member

Looks related indeed.
cc @deadpin

Looks related indeed. cc @deadpin

Metadata needs to be deleted to get PNG display back to normal:

exiftool -ext png -overwrite_original -all= .

Metadata needs to be deleted to get PNG display back to normal: `exiftool -ext png -overwrite_original -all= .`

Give the new daily build a try. It should contain a fix for the issue. If not, please attach one of the broken files to this report.

Give the new daily build a try. It should contain a fix for the issue. If not, please attach one of the broken files to this report.
Jesse Yurkovich added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-05-06 11:17:45 +02:00

As far as I am concerned, it's solved as I don't need to cleanup metadata on recalcitrant PNG thumbnails anymore to get them to show.

As far as I am concerned, it's solved as I don't need to cleanup metadata on recalcitrant PNG thumbnails anymore to get them to show.
Author

The fix from last night didn't fix it for the addon side.
3.6.0 Alpha, branch: main, commit date: 2023-05-05 22:39, hash: b01f5444a3fd

As shown in the video, all addons with thumbnails and custom .png thumbnails (not generated/rendered ones) aren't showing up. They also don't in other versions from 3.1.2 to 3.6.
Every other application has no trouble displaying it.

It can not be that we have to go through all folders/subfolders containing images for blender and convert all png files ++ convert all future png files/thumbs.
What kind of logic is that?

The fix from last night didn't fix it for the addon side. 3.6.0 Alpha, branch: main, commit date: 2023-05-05 22:39, hash: `b01f5444a3fd` As shown in the video, all addons with thumbnails and custom .png thumbnails (not generated/rendered ones) aren't showing up. They also don't in other versions from 3.1.2 to 3.6. Every other application has no trouble displaying it. It can not be that we have to go through all folders/subfolders containing images for blender and convert all png files ++ convert all future png files/thumbs. What kind of logic is that?

@Nurb2Kea It wasn't working with last night's build but it's working with this morning's one, at least on my side (i.e. Saturday 6 May 2023, 02:09:56 b01f5444a3 -- 3.6.0 Alpha, 2023-05-06).

I think the Fix #107212: Fix file browser thumbnails for images, went only into this morning's Daily Build.

@Nurb2Kea It wasn't working with last night's build but it's working with this morning's one, at least on my side (i.e. Saturday 6 May 2023, 02:09:56 b01f5444a3fd -- 3.6.0 Alpha, 2023-05-06). I think the Fix #107212: Fix file browser thumbnails for images, went only into this morning's Daily Build.
Author

Nope, not working with the latest build on MacOS.
(see images below)

Only png files, cleaned with the exif tool, are working.

Nope, not working with the latest build on MacOS. (see images below) Only png files, cleaned with the exif tool, are working.

So attach one of the broken files. If these did not work in prior versions then it must be some other problem we have to look at.

So attach one of the broken files. If these did not work in prior versions then it must be some other problem we have to look at.
Author

Hi,

here are some of them, that don't work from 3.1.2 to 3.6.

(By the way, maybe also a good idea to look at exr files too)
#98475

Hi, here are some of them, that don't work from 3.1.2 to 3.6. (By the way, maybe also a good idea to look at exr files too) https://projects.blender.org/blender/blender/issues/98475

Those 4 files work for me - but there's 1 more thing to try.

  • Navigate to your user's home directory.
  • There should be a folder there named .thumbnails Remove or rename that folder to something else. This should be safe to do as it's only a cache of thumbnails that will be regenerated on next use.
  • Test again using Blender 3.6

Here's what they look like in the file browser and asset browser for me:
ok-filebrowser.png
ok_assetbrowser.png

Those 4 files work for me - but there's 1 more thing to try. - Navigate to your user's home directory. - There should be a folder there named `.thumbnails` Remove or rename that folder to something else. This should be safe to do as it's only a cache of thumbnails that will be regenerated on next use. - Test again using Blender 3.6 Here's what they look like in the file browser and asset browser for me: ![ok-filebrowser.png](/attachments/09e73933-f32a-4835-8938-0219859f5ea1) ![ok_assetbrowser.png](/attachments/51b81e1c-1ab9-484e-ad7e-dcd46476dc52)
Author

Hi,

deleting this folder : .thumbnails/fail/blender/ makes the thumbnails are working now everywhere.
So I really hope that this issue is solved on the software side, so no new fail png's will be generated there.

Thanks for the help! :-)

Hi, deleting this folder : .thumbnails/fail/blender/ makes the thumbnails are working now everywhere. So I really hope that this issue is solved on the software side, so no new fail png's will be generated there. Thanks for the help! :-)

Seems resolved now so I'll close.

Seems resolved now so I'll close.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-05-07 02:24:06 +02:00
Author

But the .thumbnails/fail/blender/ folder keeps building up with files...
Would mean there is still something not right with the code!
I guess!?

But the .thumbnails/fail/blender/ folder keeps building up with files... Would mean there is still something not right with the code! I guess!?
Author

?

?
Guido reopened this issue 2023-05-08 13:08:21 +02:00
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2023-05-08 13:08:47 +02:00

If you are going to reopen, then provide additional information. I can't do anything by looking at that screenshot. Provide some bad files...

If you are going to reopen, then provide additional information. I can't do anything by looking at that screenshot. Provide some bad files...
Jesse Yurkovich added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-05-08 20:47:41 +02:00
Author

Hi,

here are the bad file from the fail folder under .thumbnails.

Hi, here are the bad file from the fail folder under .thumbnails.

No, I need the original files that produced those "fails". The failure items are just 1x1 pixel placeholders so we know to not regenerate the preview the next time we see the original file.

No, I need the original files that produced those "fails". The failure items are just 1x1 pixel placeholders so we know to not regenerate the preview the next time we see the original file.
Author

That is a good question.
They are generated when viewing the Assets in the asset browser.
And with this ammount it's impossible to find/track the png that causes the trouble, since the naming of the failed .png's is not helpful too.

That is a good question. They are generated when viewing the Assets in the asset browser. And with this ammount it's impossible to find/track the png that causes the trouble, since the naming of the failed .png's is not helpful too.
Member

Hi, any updates here? Still thumbnails are not appearing?

Hi, any updates here? Still thumbnails are not appearing?
Author

Haven't had time since to test.
But I will have time on the weekend and next week, when I do some testing & bugtracking of a asset manage addon.
Will report then next week.

Haven't had time since to test. But I will have time on the weekend and next week, when I do some testing & bugtracking of a asset manage addon. Will report then next week.
Author

Seems to be solved with blender 3.6.3rc
Haven't had any issues generating hundreds of PNG files for the Assets.

Only question is who & what changed the issue to be fixed in blender??
The last months I'm counting more of those cases, where something gets fixed, but no comit or comment on the bugreports here, on these cases !!

Seems to be solved with blender 3.6.3rc Haven't had any issues generating hundreds of PNG files for the Assets. Only question is who & what changed the issue to be fixed in blender?? The last months I'm counting more of those cases, where something gets fixed, but no comit or comment on the bugreports here, on these cases !!
Member

Seems to be solved with blender 3.6.3rc

@Nurb2Kea : Thx for checking! I am usually interested in the "fixing" commit as well (this just gives a nice reference between multiple related reports and so on and so forth).

Since this is not obvious in this case (there were multiple commits in this area), it would require a bisect to get to the commit -- which in this case i wont do because this also takes some time to do. It is always a tradeoff on where to spend time, in this case, I think it is better spent on fixing other bugs :)

So will close this report (feel free to comment again if issues persist)

> Seems to be solved with blender 3.6.3rc @Nurb2Kea : Thx for checking! I am usually interested in the "fixing" commit as well (this just gives a nice reference between multiple related reports and so on and so forth). Since this is not obvious in this case (there were multiple commits in this area), it would require a bisect to get to the commit -- which in this case i wont do because this also takes some time to do. It is always a tradeoff on where to spend time, in this case, I think it is better spent on fixing other bugs :) So will close this report (feel free to comment again if issues persist)
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-11-17 13:57:28 +01:00
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#107650
No description provided.