Incorrect redraw state when mouse moves between movie clip editors #74565

Closed
opened 2020-03-09 09:31:35 +01:00 by Jeroen Bakker · 9 comments
Member

System Information
Operating system: Linux-5.3.0-40-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Radeon RX Vega ATI Technologies Inc. 4.5.13581 Core Profile Context

Blender Version
Broken: version: 2.83 (sub 6), branch: master, commit date: 2020-03-09, hash: rBUnknown
Worked: (optional)

Short description of error
Non stop drawing after moving mouse between motion tracker editors

Exact steps for others to reproduce the error
During testing #67832 (Background images ignore View transform) I came across the issue that the motion tracker editors got into a state where they were always redrawn. I wasn't able to get blender back to its correct state.

You need a debugger to test this. I used renderdoc.

colorspace_example.blend
mango.exr

  • Open the attach scene.
  • Move mouse from the bottom movie clip editor to the top movie clip editor.
  • now a movie clip editors is in a state where its redrawn and you're not able to get out of the state.

possible performance issues.webm

I wasn't able to detect this with other mouse movements.

**System Information** Operating system: Linux-5.3.0-40-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: Radeon RX Vega ATI Technologies Inc. 4.5.13581 Core Profile Context **Blender Version** Broken: version: 2.83 (sub 6), branch: master, commit date: 2020-03-09, hash: `rBUnknown` Worked: (optional) **Short description of error** Non stop drawing after moving mouse between motion tracker editors **Exact steps for others to reproduce the error** During testing #67832 (Background images ignore View transform) I came across the issue that the motion tracker editors got into a state where they were always redrawn. I wasn't able to get blender back to its correct state. You need a debugger to test this. I used renderdoc. [colorspace_example.blend](https://archive.blender.org/developer/F8396922/colorspace_example.blend) ![mango.exr](https://archive.blender.org/developer/F8396921/mango.exr) * Open the attach scene. * Move mouse from the bottom movie clip editor to the top movie clip editor. * now a movie clip editors is in a state where its redrawn and you're not able to get out of the state. [possible performance issues.webm](https://archive.blender.org/developer/F8396924/possible_performance_issues.webm) I wasn't able to detect this with other mouse movements.
Author
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

Part of the problem is this UI_view2d_sync called within a drawing function, causing a kind of infinite loop -> clip_dopesheet_draw.c$319

Part of the problem is this `UI_view2d_sync` called within a drawing function, causing a kind of infinite loop -> [clip_dopesheet_draw.c$319 ](https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/space_clip/clip_dopesheet_draw.c$319)

Added subscriber: @Sergey

Added subscriber: @Sergey

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

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

Seems I can not reproduce the issue with Renderdoc 1.7 and Blender ed4647b5d7. Is it still an issue?

Is the UI_view2d_sync called from the draw function is a culptrit, then I don't think it is valid to say it is a movie clip issue: same code i used in NLA and Dopesheet.

Seems I can not reproduce the issue with Renderdoc 1.7 and Blender ed4647b5d7. Is it still an issue? Is the `UI_view2d_sync` called from the draw function is a culptrit, then I don't think it is valid to say it is a movie clip issue: same code i used in NLA and Dopesheet.

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

Changed status from 'Needs User Info' to: 'Resolved'
Germano Cavalcante self-assigned this 2020-05-13 16:38:28 +02:00

I can't reproduce the problem anymore.
Something must have fixed it.
So calling UI_view2d_sync with ED_region_tag_redraw_no_rebuild within a drawing function is not that serious.

I can't reproduce the problem anymore. Something must have fixed it. So calling `UI_view2d_sync` with `ED_region_tag_redraw_no_rebuild` within a drawing function is not that serious.
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
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#74565
No description provided.