'Solve Camera Motion' operator sometimes prevents Auto Save from running #107665

Closed
opened 2023-05-05 20:20:25 +02:00 by Germano Cavalcante · 3 comments

Blender Version
Broken: 3.5.1, 3.6
Worked: maybe 3.4

Short description of error
Investigated in #107421 by @3di.
It's still unclear when this happens, but it could be replicated with the attached file.
The function void wm_autosave_timer(Main *bmain, wmWindowManager *wm, wmTimer * /*wt*/) in wm_files.cc skips AutoSave if any modal operators are running.
In this case, this can happen with the "CLIP_OT_solve_camera" operator even after the operation is theoretically completed.

Exact steps for others to reproduce the error

  • Unzip attached .blend file
  • Go to "Motion Tracking" workspace
  • In the solve tab, press Solve Camera Motion

Auto Save stops saving or saves very late.

https://www.dropbox.com/s/lmvuecn638kloax/no%20autosave.zip?dl=0

**Blender Version** Broken: 3.5.1, 3.6 Worked: maybe 3.4 **Short description of error** Investigated in #107421 by @3di. It's still unclear when this happens, but it could be replicated with the attached file. The function `void wm_autosave_timer(Main *bmain, wmWindowManager *wm, wmTimer * /*wt*/)` in `wm_files.cc` skips AutoSave if any modal operators are running. In this case, this can happen with the `"CLIP_OT_solve_camera"` operator even after the operation is theoretically completed. **Exact steps for others to reproduce the error** - Unzip attached .blend file - Go to "Motion Tracking" workspace - In the solve tab, press `Solve Camera Motion` Auto Save stops saving or saves very late. https://www.dropbox.com/s/lmvuecn638kloax/no%20autosave.zip?dl=0
Germano Cavalcante added the
Priority
Normal
Module
Core
Type
Report
Status
Confirmed
labels 2023-05-05 20:20:26 +02:00
Jesse Yurkovich added
Module
VFX & Video
and removed
Module
Core
labels 2023-05-07 02:47:56 +02:00

The only scenario where I can reproduce this is if one clicks on the "Solve" button and does not give any input after the solver is finished. The reason for this is because the modal handler of the operator checks for the job to exist, so there needs to be an event passed to the modal handler after the job is finished.

This behavior is the same with F12. So if that is the problem you're encountering it is not limited to this operator, and not to the VFX module.

If that is not the issue you're running into, then we need to know more details.

The only scenario where I can reproduce this is if one clicks on the "Solve" button and does not give any input after the solver is finished. The reason for this is because the modal handler of the operator checks for the job to exist, so there needs to be an event passed to the modal handler after the job is finished. This behavior is the same with F12. So if that is the problem you're encountering it is not limited to this operator, and not to the VFX module. If that is not the issue you're running into, then we need to know more details.
Sergey Sharybin added
Status
Needs Information from User
and removed
Status
Confirmed
labels 2023-05-08 12:05:21 +02:00
Member
@mano-wii ^
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-12-29 08:17:04 +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
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#107665
No description provided.