Sequencer: Invalid timecode values makes strip drawing a mess. #65723

Closed
opened 2019-06-11 15:13:28 +02:00 by tintwotin · 18 comments

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: Intel(R) UHD Graphics 600 Intel 4.5.0 - Build 24.20.100.6137

Blender Version
Broken: version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-06-08 13:24, hash: 81b68f7279
Worked: (optional)

Short description of error
When invalid values are used in the timecode panel the strips will become a mess.

Exact steps for others to reproduce the error
Add a movie strip.
Open the Sidebar - Timecode.
Play around with the sliding values.

Gif of the procedure and the bug:
TimeCode_clamping.gif

**System Information** Operating system: Windows-10-10.0.17763 64 Bits Graphics card: Intel(R) UHD Graphics 600 Intel 4.5.0 - Build 24.20.100.6137 **Blender Version** Broken: version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-06-08 13:24, hash: `81b68f7279` Worked: (optional) **Short description of error** When invalid values are used in the timecode panel the strips will become a mess. **Exact steps for others to reproduce the error** Add a movie strip. Open the Sidebar - Timecode. Play around with the sliding values. Gif of the procedure and the bug: ![TimeCode_clamping.gif](https://archive.blender.org/developer/F7098646/TimeCode_clamping.gif)
Author

Added subscriber: @tintwotin

Added subscriber: @tintwotin

Added subscriber: @iss

Added subscriber: @iss

Is this new issue?
I mean it should be easy to fix, but not sure if I should look for what caused this.

Is this new issue? I mean it should be easy to fix, but not sure if I should look for what caused this.
Author

Just checked 2.73. Same bug.

Just checked 2.73. Same bug.
Richard Antalik was assigned by Sebastian Parborg 2019-06-17 14:27:26 +02:00
Author

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish
Author

I don't know if changing the 'End' value to a label is a fix for the above mentioned bug?
image.png
But as shown in the gif in the bug report, it also includes the Strip & Hold Offset values. So maybe it's better to leave End as it was(as a know bug), until there is time for a proper fix, or if not, then use the alignment code from Playhead for the End value, so it won't be misaligned?

I don't know if changing the 'End' value to a label is a fix for the above mentioned bug? ![image.png](https://archive.blender.org/developer/F7585873/image.png) But as shown in the gif in the bug report, it also includes the Strip & Hold Offset values. So maybe it's better to leave End as it was(as a know bug), until there is time for a proper fix, or if not, then use the alignment code from Playhead for the End value, so it won't be misaligned?

In #65723#717723, @tintwotin wrote:
I don't know if changing the 'End' value to a label is a fix for the above mentioned bug?

Nope. It's quite easy to limit the value.
I will get to this eventually but this bug is super low priority

> In #65723#717723, @tintwotin wrote: > I don't know if changing the 'End' value to a label is a fix for the above mentioned bug? Nope. It's quite easy to limit the value. I will get to this eventually but this bug is super low priority
Author

According to this comment it is a way to workaround that bug:
image.png

According to this comment it is a way to workaround that bug: ![image.png](https://archive.blender.org/developer/F7586184/image.png)

Added subscriber: @ideasman42

Added subscriber: @ideasman42

These were internal variables for cutting strips and not meant to be exposed.

Editing these values can easily create an invalid state.

Further, these values are hard to understand.

Unless a fix is trivial, would remove these buttons for 2.8x release.


We could have an operator to reset these start/end cut values, eg: "Reset Cut Limits", which users can run if they need to set the limits back to the source strip.

These were internal variables for cutting strips and not meant to be exposed. Editing these values can easily create an invalid state. Further, these values are hard to understand. Unless a fix is trivial, would remove these buttons for 2.8x release. ---- We could have an operator to reset these start/end cut values, eg: "Reset Cut Limits", which users can run if they need to set the limits back to the source strip.
Author

The offset(hard/soft cut) values have been exposed as buttons in many years(without limits on invalid values). Here they are in Blender 2.72:
image.png

The offset(hard/soft cut) values have been exposed as buttons in many years(without limits on invalid values). Here they are in Blender 2.72: ![image.png](https://archive.blender.org/developer/F7589822/image.png)

You're right, (was looking at the edit strip panel which only has start frame & length).

The way they are presented makes them more prominent in 2.8.

Lowering priority since this issue isn't new in 2.8x.

You're right, (was looking at the edit strip panel which only has start frame & length). The way they are presented makes them more prominent in 2.8. Lowering priority since this issue isn't new in 2.8x.
Author

So is the UI change with 'End' going to be rolled back for now?

So is the UI change with 'End' going to be rolled back for now?

Nope.

Master is frozen.
only critical bugfixes are allowed

Nope. Master is frozen. only critical bugfixes are allowed

Knife-cut and Transform have checks to ensure invalid start/end cases don't happen.

Some buttons were exposed that allow this - which is unfortunate.

This case looks like a bug and isn't properly handled by tools & draw code.

Instead of using buggy/low quality code as an excuse to make this weakness more prominent, why not try and solve the problem?

Possible solutions:

  • Separate RNA properties to expose to the interface, frame_final_end_ui for example.
  • Add clamping to frame_final_end, then use a function strip.frame_final_set(start=a, end=b) so these values can be updated, or omitted to use the current value.
Knife-cut and Transform have checks to ensure invalid start/end cases don't happen. Some buttons were exposed that allow this - which is unfortunate. This case looks like a bug and isn't properly handled by tools & draw code. Instead of using buggy/low quality code as an excuse to make this weakness more prominent, why not try and solve the problem? Possible solutions: - Separate RNA properties to expose to the interface, `frame_final_end_ui` for example. - Add clamping to `frame_final_end`, then use a function `strip.frame_final_set(start=a, end=b)` so these values can be updated, or omitted to use the current value.
Author

@iss Could this be added to a VSE To Do list here on developer.blender.org?

@iss Could this be added to a VSE To Do list here on developer.blender.org?
Richard Antalik was unassigned by Dalai Felinto 2019-12-23 16:34:07 +01:00

Note that one of the issues caused by not properly clamping values leads to a crash #74603 (Video Sequence Time slider ignores handle offset constraints (leading to crash)).

Note that one of the issues caused by not properly clamping values leads to a crash #74603 (Video Sequence Time slider ignores handle offset constraints (leading to crash)).

Closed as duplicate of #74602

Closed as duplicate of #74602
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#65723
No description provided.