Animation Editor Scrubbing Area #63193

Closed
opened 2019-04-01 19:47:48 +02:00 by William Reynish · 25 comments

Overview

One of the major unsolved issues for left click select in Blender 2.8, is the problem of scrubbing in the Timeline and other animation editors. We would like this to be done with the left mouse button, but the problem is, we cannot use the same mouse button for both selection and setting/scrubbing the playhead.

We can solve this by adding a scrubbing strip to all animation editors, so that you can scrub the playhead inside one region, but select in the rest. The good news is, as it turns out, we already have such a region, which can be configured to work this way: The region we currently use for markers, which already exists at the bottom of all animation editors.

All that's needed then, is to make some visual changes to the markers sub-region inside the animation editors. The keymap/interaction part can already be done inside the keymap.

{F6903427, size=full}

When the Timeline is very short, you can then still drag to scrub:
{F6907663, size=full}

Changes

Inside all time-based editors (Dopesheet, Timeline, Sequencer, Graph Editor, NLA), we should make the following changes:

  • Step 1: Move marker region to the top
  • Step 2: Make it always visible and more visually prominent
  • Step 3: Move the frame numbers from the scrollbar to this region
  • Step 4: Make the scrollbar thinner to match other areas
  • Step 5: Change the left click keymap to scrub inside this area, but select everywhere else (trivial)

Once the above visual change is made, we can easily fix/update the default keymap to make proper use of it, as is already done here: D4626

Graph Editor:

This editor also has vertical scrollbars. We could change them also to fit in with this change like so:

Either next to scrollbar
Screenshot 2019-04-03 at 23.41.00.png

Or opposite:
Screenshot 2019-04-03 at 23.40.44.png

## Overview One of the major unsolved issues for left click select in Blender 2.8, is the problem of scrubbing in the Timeline and other animation editors. We would like this to be done with the left mouse button, but the problem is, we cannot use the same mouse button for both selection and setting/scrubbing the playhead. We can solve this by adding a scrubbing strip to all animation editors, so that you can scrub the playhead inside one region, but select in the rest. The good news is, as it turns out, we already *have* such a region, which can be configured to work this way: The region we currently use for markers, which already exists at the bottom of all animation editors. All that's needed then, is to make some visual changes to the markers sub-region inside the animation editors. The keymap/interaction part can already be done inside the keymap. {[F6903427](https://archive.blender.org/developer/F6903427/Screenshot_2019-03-31_at_12.24.53.png), size=full} When the Timeline is very short, you can then still drag to scrub: {[F6907663](https://archive.blender.org/developer/F6907663/Screenshot_2019-04-02_at_18.03.49.png), size=full} ## Changes Inside all time-based editors (Dopesheet, Timeline, Sequencer, Graph Editor, NLA), we should make the following changes: - Step 1: Move marker region to the top - Step 2: Make it always visible and more visually prominent - Step 3: Move the frame numbers from the scrollbar to this region - Step 4: Make the scrollbar thinner to match other areas - Step 5: Change the left click keymap to scrub inside this area, but select everywhere else (trivial) Once the above visual change is made, we can easily fix/update the default keymap to make proper use of it, as is already done here: [D4626](https://archive.blender.org/developer/D4626) ## Graph Editor: This editor also has vertical scrollbars. We could change them also to fit in with this change like so: Either next to scrollbar ![Screenshot 2019-04-03 at 23.41.00.png](https://archive.blender.org/developer/F6909728/Screenshot_2019-04-03_at_23.41.00.png) Or opposite: ![Screenshot 2019-04-03 at 23.40.44.png](https://archive.blender.org/developer/F6909730/Screenshot_2019-04-03_at_23.40.44.png)
Added subscribers: @WilliamReynish, @A.Lex_3D, @CharlieJolly, @schweppie, @Hexbob6, @freemind, @PierreSchiller, @SteffenD, @remotecrab131, @Thane5, @orvb, @brezdo, @iss, @0o00o0oo, @ideasman42, @RamiroCantu, @Regnas

Step 1: Move marker area to the top

Agree, would fix #57976 (VSE, marker area is invisibly blocking the strips)

Step 3: Move the frame numbers from the scrollbar to this area

In VSE horizontal, but also vertical labels are barely visible.
This would fix horizontal labels, but vertical should be dealt with also.

Step 5: Change the keymap to scrub inside this area, but select everywhere else (trivial)

Don't agree.
This can be very limiting. At least allow users to leave that area and still scrub as users do need to concentrate on viewport / other things when scrubbing.

Unfortunately I don't know how other apps deals with this, but I don't think they do have designated scrubbing area.

> Step 1: Move marker area to the top Agree, would fix #57976 (VSE, marker area is invisibly blocking the strips) > Step 3: Move the frame numbers from the scrollbar to this area In VSE horizontal, but also vertical labels are barely visible. This would fix horizontal labels, but vertical should be dealt with also. > Step 5: Change the keymap to scrub inside this area, but select everywhere else (trivial) Don't agree. This can be very limiting. At least allow users to leave that area and still scrub as users do need to concentrate on viewport / other things when scrubbing. Unfortunately I don't know how other apps deals with this, but I don't think they do have designated scrubbing area.

@iss Most apps do work this way.

Keep in mind this only applies to left click select. This is where we have the issue. Because we use left click to select, we can’t also use it for scrubbing.

For right click select you can continue to drag anywhere with LMB to scrub.

Also, even for LMB select, we could keep Ctrl-RMB as an alternative way to scrub anywhere. But it’s too hidden to be the only way, and requires using a modifier key.

@iss Most apps do work this way. Keep in mind this only applies to left click select. This is where we have the issue. Because we use left click to select, we can’t also use it for scrubbing. For right click select you can continue to drag anywhere with LMB to scrub. Also, even for LMB select, we could keep Ctrl-RMB as an alternative way to scrub anywhere. But it’s too hidden to be the only way, and requires using a modifier key.
Jacques Lucke was assigned by Brecht Van Lommel 2019-04-12 07:55:35 +02:00

Design update:

It makes it easier to deal with markers if we separate them from the scrubbing region. Looks like this:

Without marker area:
This is how it looks by default.
{F6935708, size=full}

With marker area:
When the marker region is enabled:
{F6935695, size=full}

Because it takes up some space, we should add the ability to hide the Marker region.

Design update: It makes it easier to deal with markers if we separate them from the scrubbing region. Looks like this: Without marker area: This is how it looks by default. {[F6935708](https://archive.blender.org/developer/F6935708/Screenshot_2019-04-12_at_17.29.31.png), size=full} With marker area: When the marker region is enabled: {[F6935695](https://archive.blender.org/developer/F6935695/Screenshot_2019-04-12_at_17.29.06.png), size=full} Because it takes up some space, we should add the ability to hide the Marker region.

Added subscriber: @LucianoMunoz

Added subscriber: @LucianoMunoz
Member

The current behavior of the seconds-drawing seems a bit wrong already -.-
jumping seconds.gif

The current behavior of the seconds-drawing seems a bit wrong already -.- ![jumping seconds.gif](https://archive.blender.org/developer/F6940356/jumping_seconds.gif)

@JacquesLucke

You are probably right, but that is the current behaviour with the seconds display. I would advise to not go too far into rabbit hole of changing how that works inside this patch. This is all about making it nicer & easier to scrub using left click select.

Changing the seconds display to be better seems like an entirely separate task to me.

If we can just take the current way we display frames and seconds and move it to the scrubbing area, that should be okay. Then separately we should improve display of seconds, also to use the units system better to make use of seconds, minutes or hours display.

@JacquesLucke You are probably right, but that is the current behaviour with the seconds display. I would advise to not go too far into rabbit hole of changing how that works inside this patch. This is all about making it nicer & easier to scrub using left click select. Changing the seconds display to be better seems like an entirely separate task to me. If we can just take the current way we display frames and seconds and move it to the scrubbing area, that should be okay. Then separately we should improve display of seconds, also to use the units system better to make use of seconds, minutes or hours display.
Member

Couldn't upload the current version today, because I could not access the site.

Currently there are two main issues.

  1. This is a design issue. How should it look like in the dopesheet when there are keyframes. Currently the keyframes overlap with the marker and scrubbing area. They can't be easily moved down, because then the channel list had to moved as well, which is ugly, but possible. Ideas?
  2. Drawing the frame numbers is a bit more difficult than expected. I'll tackle that tomorrow by refactoring the drawing of grid lines and scrollbars in a separate patch
Couldn't upload the current version today, because I could not access the site. Currently there are two main issues. 1. This is a design issue. How should it look like in the dopesheet when there are keyframes. Currently the keyframes overlap with the marker and scrubbing area. They can't be easily moved down, because then the channel list had to moved as well, which is ugly, but possible. Ideas? 2. Drawing the frame numbers is a bit more difficult than expected. I'll tackle that tomorrow by refactoring the drawing of grid lines and scrollbars in a separate patch

1:

Can’t think of a better solution than moving the source list down by 1. Eventually we could add filtering here like search which then fits better.

  • 2: ok makes sense.
# 1: Can’t think of a better solution than moving the source list down by 1. Eventually we could add filtering here like search which then fits better. - 2: ok makes sense.

what if the markers can only be selected by holding a modifier key?, I think it would be better, because really you dont want to move your markers by mistake nor that often.

what if the markers can only be selected by holding a modifier key?, I think it would be better, because really you dont want to move your markers by mistake nor that often.
Member

There were a few other issues when the markers are directly in the scrubbing area.

  • They become hidden when the frame indicator is on top of the marker.
  • The marker name is on top of keyframes, which can be annoying.

During testing, I also found that this change makes it relatively easy to move markers by accident, because the scrubbing area is so close...

There were a few other issues when the markers are directly in the scrubbing area. - They become hidden when the frame indicator is on top of the marker. - The marker name is on top of keyframes, which can be annoying. During testing, I also found that this change makes it relatively easy to move markers by accident, because the scrubbing area is so close...

Added subscriber: @hadrien

Added subscriber: @hadrien

Also, even for LMB select, we could keep Ctrl-RMB as an alternative way to scrub anywhere. But it’s too hidden to be the only way, and requires using a modifier key.

Agreed that this would be a nice alternative. Some other DCCs have a modifier key that when held down activates the dragging and overrides the usual "select/tweak" action - I currently have this bound to alt+LMB because I use LMB select, and I find very nice being able to scrub without having to precisely target the "scrubbing area" (which is often quite narrow).

> Also, even for LMB select, we could keep Ctrl-RMB as an alternative way to scrub anywhere. But it’s too hidden to be the only way, and requires using a modifier key. Agreed that this would be a nice alternative. Some other DCCs have a modifier key that when held down activates the dragging and overrides the usual "select/tweak" action - I currently have this bound to alt+LMB because I use LMB select, and I find very nice being able to scrub without having to precisely target the "scrubbing area" (which is often quite narrow).

Added subscriber: @yrrnn

Added subscriber: @yrrnn

@JacquesLucke

As for your issue with moving the source list down, I think this can actually turn out rather nicely if we do as suggested earlier and move Search above source list items:

Before:
Screenshot 2019-04-15 at 12.11.06.png

After:
Screenshot 2019-04-15 at 12.20.11.png

This arguably makes more sense anyway, since you are really filtering the source list.

@JacquesLucke As for your issue with moving the source list down, I think this can actually turn out rather nicely if we do as suggested earlier and move Search above source list items: Before: ![Screenshot 2019-04-15 at 12.11.06.png](https://archive.blender.org/developer/F6947589/Screenshot_2019-04-15_at_12.11.06.png) After: ![Screenshot 2019-04-15 at 12.20.11.png](https://archive.blender.org/developer/F6947597/Screenshot_2019-04-15_at_12.20.11.png) This arguably makes more sense anyway, since you are really filtering the source list.
Member

Cann you make the mockup for the case when there are markers?

Cann you make the mockup for the case when there are markers?

For that case I cannot think of an elegant solution:

Screenshot 2019-04-15 at 13.39.11.png

It's functional but just not exactly elegant.

Which is another reason why I think it's important to add the ability to hide the marker areas inside each editor. Even if you use markers, you probably don't always want to see them in every single editor.

For that case I cannot think of an elegant solution: ![Screenshot 2019-04-15 at 13.39.11.png](https://archive.blender.org/developer/F6947796/Screenshot_2019-04-15_at_13.39.11.png) It's functional but just not exactly elegant. Which is another reason why I think it's important to add the ability to hide the marker areas inside each editor. Even if you use markers, you probably don't always want to see them in every single editor.
Member

Thanks.

Thanks.
Member

Added subscriber: @EitanSomething

Added subscriber: @EitanSomething
Member

Adding arrows on the ends would make scrolling easier.

Adding arrows on the ends would make scrolling easier.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member
f2b7582b27

Added subscriber: @pizzagate

Added subscriber: @pizzagate

time line optimization icon and range.jpg

![time line optimization icon and range.jpg](https://archive.blender.org/developer/F7081978/time_line_optimization_icon_and_range.jpg)

Removed subscriber: @brezdo

Removed subscriber: @brezdo
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
9 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#63193
No description provided.