File Browser is unusable on Windows Machines #43684
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#43684
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 7 x64, gtx 580
Blender Version
Broken: 2.73-c439d14
Worked: 2.73-4ae6d58
Short description of error
File browser (file open / file save) is unusable under windows 7 x64.
Exact steps for others to reproduce the error
#43688 was marked as duplicate of this issue
Changed status to: 'Open'
Added subscriber: @candreacchio
Added subscriber: @you.le
Did some changes in this area yesterday… would not have expected anything new (was mostly cleaning), but looks like windows thinks differently once again. :/
Added subscriber: @lamoot
I tested it on my machine and can't reproduce the problem, everything works fine and is responsive in the file browser. I used the same blender-2.73-c439d14-win64 build, also on Win 7 64, mobility radeon 5650.
Also, changing interface draw methods didn't change anything, it was still responsive.
@lamoot thanks for the feedback.
This report really is odd, but was reported separately by two people, so there must be something fishy going on here. Checking currently on my windows VM (building blender on win takes ages…), could also be related to recent OpenGL commit (and drivers, of course). ;)
Yeah… cannot confirm that here either (VM, so using softwaregl)…
@candreacchio & @you.le can you please:
--factory-startup
commandline option) (this will ensure whether this is a userpref or addon issue or not).No problem:
Don't hesitate to ask me to test some .diff if you have any idea of what can cause the bug and thank you very much for trying to solve it!
Thanks. If you are building Blender yourself (and hence have a local git repo of its source), you may want to try to revert those two commits, and see whether it fixes the issue:
2e9105cc96
Those were switching from plain C malloc/realloc/free to our own guarded versions (used nearly everywhere in Blender code, MEM_xxx). I would not expect for sure this to be the cause of the issue, but you never know…
Otherwise, you could also just git bisect between the known good and bad revisions, to pinpoint which change actually caused the issue.
I already made bisect: http://www.mediafire.com/view/w8thde9z7drbmif/bisectLagBlender.txt
This is since this commit:
b9ffd70960
the bug appeared...
I just wanted to report the bug... But my own build 2.73.6 works fine! :) Thanks. I'll try to revert the commits you indicated to me to see what happens.
Oh… then I know what’s the issue - you must have some invalid (as in, not reachable) bookmarks. Would look like running BLI_is_dir from draw loop is not a good idea. :/
Will try to think of a better solution.
This issue was referenced by
0dfdca6d13
Changed status from 'Open' to: 'Resolved'
Closed by commit
0dfdca6d13
.That commit should fix the issue, can you please confirm this?
Sorry, that does not work for me.
Compilation warnings: http://www.mediafire.com/view/f6mwlefcqdfzbyn/warnings.txt
When I revert your commit
b9ffd70960
it works.I make a new try... But I think it won't change.
Will confirm once buildbot updates
After another test, I realized that your last changes solved a part of the bug:
Hope this can help!
Added subscriber: @mont29
@mont29 , we have updated based off the buildbot (
691cb61
) and performance has significantly improved whilst navigating between folders & files... The only slowdown now occurs when the file dialogue is opening... (Pressing Ctrl - O will lock up blender for 5-10 seconds)I have tried resetting the preferences and that does not help with the lockup. Nor does removing mounted network drives / removing network drive shortcuts
I can confirm that this slowdown happens for all File Browser dialogues (open / save as / link / append / changing the 3dview to filebrowser manually).
Changed status from 'Resolved' to: 'Open'
Yes… that what I would have expected… I’d like to know how much entries you have in your bookmarks, and if many of them are pointing to network FS (I bet there are :P).
No, issue here comes from calling BLI_is_dir() on all bookmarks' paths, to detect the one which are available and the one which are currently invalid. Previously, it was run on each redraw, which was stupid from my side. Now, I made them run only on blender startup and when you open a file browser. I could just keep it to run only once on startup, but then it would not update if you e.g. mount a new drive or whatever… :/
I tried removing all blender bookmarks actually... even wiped my settings and tried it again, still lagged out. Tried unmounting my network drives and removing network bookmarks from the filebrowser, and that lagged out still.
Note Campbell did another (unrelated) fix regarding filebrowser and lag,
8cb4011220
, is it in your tested builds?I was using build
691cb61
from the buildbot, so yes?I just updated my Blender sources and made a new build. Same issue. In my system bookmarks, I've only Desktop and Documents. I don't know what exactly is a "bookmark"... In the help menu, there are several internet links "bookmarks" (python API reference etc...). Thank you mont29 for trying to resolve the bug!
I have a drive A: in bookmarks which does not exists (my hard drives are C: , D: , and cdroms E: , F: ) . When I click on A: , Blender crashes sometimes. I don't know if it is related to the bug...
Grmll… trying to fix that without being able to reproduce it is rather hairy… Can you please apply that patch, run Blender, open once or two times the filebrowser, and paste here what it prints in console?
P201: #43684
Hello! No problem: http://www.mediafire.com/view/8ly6c56s3l0os9p/Nouveau_document_texte.txt
Hope this helps! Bon courage!
It seems there is a problem with A:, no?
validate A:: time start (validate_entry): D:\Compilation\Blender\No
uveau dossier\source\blender\editors\space_file\fsmenu.c:223
That’s the least we can say… F...ing Windows! A:\ and B:\ are for (very!) old floppy stuff, think I will just explicitly exclude them from the check for now… But win could be smart enough not to block five seconds for a mere stat call over such stuff…
Can you confirm me this patch fixes the issue for you?
P202: #43684
Yes! It works again! Thanks very much! And thank you for all your works for Blender!
Bonne fin d'après-midi!
Cool, committing then, then again for the tests!
(Et bonne soirée :) ).
This issue was referenced by
21a2b73a1e
Changed status from 'Open' to: 'Resolved'
Closed by commit
21a2b73a1e
.This issue was referenced by
e089b0e911
Oops! Sorry it's me again. I just tested you commit. Compilation failed. I propose this patch:
Pardon pour la mise en page :)
Added subscriber: @JulianEisel
@you.le, do you mean compilation of latest master fails or something regarding Bastien's patch?
Yes compilation failed because of line 232 in \blender\source\blender\editors\space_file\fsmenu.c if (STRCASEEQLEN(fsentry->path, exceptions- [x], exceptions_len[i])) {
This line has to be replaced by:
if (STREQLEN(fsentry->path, exceptions- [x], exceptions_len[i])) {
to make it work. That was the mont29 first intention (cf his patch above)... But I don't know why he changed it. :)
Yes, compilation of the last updated master with his commit included...
That's because of this commit:
5115e86246..e089b0e911
:/source/blender/editors/space_file/fsmenu.cFixed as
2967253ae4
(stupid MSVC again).