Blender is unable of saving thumbnails in folders with accents in the names #98833

Open
opened 2022-06-13 00:38:57 +02:00 by Rodrigo Couto · 16 comments

System Information
Operating system: Linux-5.13.0-44-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.73.05

Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e3691
Worked: 2.93
Short description of error
Blender saves the files but I can't see the thumbnails in the file manager if the file is saved inside a folder in which the name is written using accents. (Dolphin, in my case, not the file manager from Blender)
Exact steps for others to reproduce the error
Save any file of blender inside a folder named using accents like: vinícius
[Based on the default startup or an attached .blend file (as simple as possible)]

**System Information** Operating system: Linux-5.13.0-44-generic-x86_64-with-glibc2.31 64 Bits Graphics card: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.73.05 **Blender Version** Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: `e05e1e3691` Worked: 2.93 **Short description of error** Blender saves the files but I can't see the thumbnails in the file manager if the file is saved inside a folder in which the name is written using accents. (Dolphin, in my case, not the file manager from Blender) **Exact steps for others to reproduce the error** Save any file of blender inside a folder named using accents like: vinícius [Based on the default startup or an attached .blend file (as simple as possible)]
Author

Added subscriber: @Calandro

Added subscriber: @Calandro
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Hi, thanks for the report. File Preview is generating for me in 3.3
Did you set File preview type to None? You can check it from- {nav Edit > Preferences > Save & Load > Blend Files > File Preview Type}

Hi, thanks for the report. File Preview is generating for me in 3.3 Did you set `File preview type` to None? You can check it from- {nav Edit > Preferences > Save & Load > Blend Files > File Preview Type}
Author

No, friend, on any other folders Blender saves thumbnails perfectly. Even those files it did not save before. The file preview type was in "auto" and at the end, I left it on "camera view". I made a test creating new folders with names with and without accents and the problem is there where the accents are present and not where they aren't. I will test it with Blender 3.3.

I see what may be the problem here. I wrote what the problem was in the title but did not explain it properly in the description. I will edit that. I also forgot to specify what file manager I was talking about, and it is not the file manager from blender, but from the system, in my case, Dolphin.

Since Blender's file manager shows the previews, I imagine they are saved, but for some reason, Blender is unable to make them visible for Linux inside those folders.

No, friend, on any other folders Blender saves thumbnails perfectly. Even those files it did not save before. The file preview type was in "auto" and at the end, I left it on "camera view". I made a test creating new folders with names with and without accents and the problem is there where the accents are present and not where they aren't. I will test it with Blender 3.3. I see what may be the problem here. I wrote what the problem was in the title but did not explain it properly in the description. I will edit that. I also forgot to specify what file manager I was talking about, and it is not the file manager from blender, but from the system, in my case, Dolphin. Since Blender's file manager shows the previews, I imagine they are saved, but for some reason, Blender is unable to make them visible for Linux inside those folders.
Author

Just made a test with Blender 3.3 and the problem is still present. Blender 3.1.2 also has the same problem. Blender 2.93.9 works as it should. There's no difference in the preview settings among them.

The problem is certainly related to the folder names. If I change the folder name from vinícius to vinicius all of them save the thumbnails properly in that folder. That Is not a huge problem since I know how to work around it. The big problem is that as I speak Portuguese I have many of my folder names with accents. My trees models folder, for example, is called árvores. It's complicated to restructure all my folder names structure affecting projects to which I already have models linked to.

I don't know if I am being clear enough. Sorry, English isn't my first language.

Just made a test with Blender 3.3 and the problem is still present. Blender 3.1.2 also has the same problem. Blender 2.93.9 works as it should. There's no difference in the preview settings among them. The problem is certainly related to the folder names. If I change the folder name from vinícius to vinicius all of them save the thumbnails properly in that folder. That Is not a huge problem since I know how to work around it. The big problem is that as I speak Portuguese I have many of my folder names with accents. My trees models folder, for example, is called árvores. It's complicated to restructure all my folder names structure affecting projects to which I already have models linked to. I don't know if I am being clear enough. Sorry, English isn't my first language.
Member

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

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

I made some editions in my comments to give some more information. Sorry, I don't know if you have seen them before or after the editions.

I made some editions in my comments to give some more information. Sorry, I don't know if you have seen them before or after the editions.
Member

Hi, yes, I've seen your edits. I've reverted the status so other triagers can also check this.

Hi, yes, I've seen your edits. I've reverted the status so other triagers can also check this.

Added subscriber: @deadpin

Added subscriber: @deadpin

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can confirm here on linux using Gnome's filemanager as well. Perhaps blender-thumbnailer, which is called by the shell to extract the thumbnail, is not reading the path correctly or is being passed an incorrect path to begin with.

normal vs. vinícius
thumbnailer.png

I can confirm here on linux using Gnome's filemanager as well. Perhaps `blender-thumbnailer`, which is called by the shell to extract the thumbnail, is not reading the path correctly or is being passed an incorrect path to begin with. normal vs. vinícius ![thumbnailer.png](https://archive.blender.org/developer/F13157482/thumbnailer.png)
Author

This comment was removed by @Calandro

*This comment was removed by @Calandro*
Author

Sorry, I've made a stupid comment due to the "incredible" search power of Dolphin with the file search enabled in the system settings. I didn't know how

Sorry, I've made a stupid comment due to the "incredible" search power of Dolphin with the file search enabled in the system settings. I didn't know how
Author

I found "another bug" that I thought was something different, but finally, I've found out they are related somehow.

The problem is that only the compressed files are affected by this problem. If you save the files in folders with accents, but uncompressed, they work perfectly as they should.

Also, those compressed files have a problem when you save them anywhere and try to scale the thumbnails to a larger size, while the uncompressed blender files can be saved without any problem in any folder, including those that use accents. Without any rescaling problem.

I was already filling up a new bug report when I found that strange connection and thought that maybe this could help to find out where the problem is.

So, now we know that it affects only compressed files and have this secondary effect on folders that use accents.

I found "another bug" that I thought was something different, but finally, I've found out they are related somehow. The problem is that only the compressed files are affected by this problem. If you save the files in folders with accents, but uncompressed, they work perfectly as they should. Also, those compressed files have a problem when you save them anywhere and try to scale the thumbnails to a larger size, while the uncompressed blender files can be saved without any problem in any folder, including those that use accents. Without any rescaling problem. I was already filling up a new bug report when I found that strange connection and thought that maybe this could help to find out where the problem is. So, now we know that it affects only compressed files and have this secondary effect on folders that use accents.
Author

Sorry, I forgot to send some prints of the problem. I also found out right now that if you rename an uncompressed file in the file manager the thumbnails stay unaffected, but if you do the same with a compressed file, the thumbnail disappears.

I also realized that, for some reason, the quality of the thumbnails of the compressed files is much better than of the uncompressed ones. I didn't figure out why.

Without resizing:
image.png
After resizing:
image.png

Sorry, I forgot to send some prints of the problem. I also found out right now that if you rename an uncompressed file in the file manager the thumbnails stay unaffected, but if you do the same with a compressed file, the thumbnail disappears. I also realized that, for some reason, the quality of the thumbnails of the compressed files is much better than of the uncompressed ones. I didn't figure out why. Without resizing: ![image.png](https://archive.blender.org/developer/F13503226/image.png) After resizing: ![image.png](https://archive.blender.org/developer/F13503228/image.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
3 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#98833
No description provided.