Animation playback is not synchronized when Screen Layout changes #38467
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#38467
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
Ubuntu 13.10 32-bit
Intel Ironlake Mobile x86/MMX/SSE
Blender Version
2.69.10
f70d966
Short description of error
The UI don't update correctly when animation is playing and the Screen Layout is changed. The UI animation indicators are not correct and the animation controls don't work properly.
Exact steps for others to reproduce the error
Very easy to reproduce:
Another way to check this:
A last note: If you start to play animation in two layouts at the same time, the same problem will happen if you try to stop the animation in one of then. In the another layout it will keep to playing incorrectly.
Changed status to: 'Open'
Added subscriber: @PauloJoseOliveiraAmaro
Added subscriber: @ThomasDinges
I observer something else here on Mac OS, after switching to the "animation" screen layout, the playback stops. Pressing ALT+A again and it starts to playback again,
Added subscriber: @JoshuaLeung
IIRC, the temporary data for animation playback - settings + timer - are actually stored on a per-screen basis. While this is perhaps related to Ton's dream/plan to make it possible to have different windows playing back independently of each other at some point, it can lead to various weird situations like the one described here.
Perhaps we should move to storing this stuff in wmWindowManager instead of bScreen. I'm not sure it's such a great idea to mix this sort of thing in with the windowmanager module (since it's kindof lower-level than the Screens/UI elements stuff). Then again, wm_event_do_handlers() already has to have special handling for sound playback and performing depsgraph+eval system updates...
Added subscribers: @brecht, @Sergey
I wouldn't want this to be moved. We're actually moving towards separate states for windows and such a change would be a step backwards actually. But perhaps user feedback could be improved here.
@brecht, any thoughts here?
We can keep it in the screen for later, but need to ensure only one screen s playing at a time, and stopping (or transferring) playback when switching screens.
Added subscriber: @mont29
This simple patch seems to work as expected... Not quite sure a mere copy of animtimer between screens is a correct way to do it, though!
P17: source/blender/editors/screen/screen_edit.c
Looks good to me.
I can't see anything in wmTimer that binds it to any screen specifically, only to the window which stays the same. And animtimer seems to be the only variable in bScreen affected by animation playback, so that seems ok too.
This issue was referenced by blender/blender-addons-contrib@d2a5ea04ed
This issue was referenced by
d2a5ea04ed
Changed status from 'Open' to: 'Resolved'
Closed by commit
d2a5ea04ed
.