UI: File Loading Waiting Feedback #112636
No reviewers
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#112636
Loading…
Reference in New Issue
No description provided.
Delete Branch "Harley/blender:LoadingWait"
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?
When loading a blend file remove any open menus and show a "waiting"
mouse cursor during the process.
This is just the parts of #104666 not involving a loading dialog. These parts were previously reviewed by Campbell here: https://archive.blender.org/developer/D10484.
Making this a separate PR allows use to delay the loading dialog if needed but still have the other niceties.
@blender-bot build
Redrawing on save caused problems in the past, did you check: #92704, #97627?
Some possible issues:
WM_toolsystem_init
.Redrawing is typically run from the event loop, calling from outside the event loop has caused problems in the past.
Other issues related to redrawing:
Also, why is redraw drawing done at the end of file loading? This is going to redraw anyway and shouldn't be needed.
Hmmm... was fairly certain we had dealt with this earlier with code provided by you:
https://archive.blender.org/developer/differential/0010/0010484/#295567
Will take a look tomorrow, and can always revert.
I don't think this implementation is safe enough. Even if we don't find immediate issues, redrawing at these points in the code seems too risky to me. I would expect this to redraw before file loading, in the operator invoke function before it has really done anything.
It could only re-blit existing framebuffers and not go into drawing code, so that no scene data is accessed. That's also how I think a progress bar should work during file loading or other slow operators. That would require an argument to
wm_draw_update
to skip actual region, cursor, overlay drawing .Even that would require looking into the code to verify that it's not possible for the window/screen to be in some invalid state due to previously run operators and notifiers that have not been handled yet. And the case of Python code doing batch operations without redraws would also need to be detected.
Will revert and give this more thought.
Reverted in
e7df63ca72