Handle Type selector in the Graph Editor's sidebar sets different types than selected #101602

Open
opened 2022-10-04 23:45:13 +02:00 by Oliver Villar · 9 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 517.40

Blender Version
Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: 0759f671ce
Worked: Don't know if it ever worked before or when.

Short description of error
When choosing the type of handle for a keyframe in the Graph Editor's sidebar, the options don't work as expected. Selecting "Vector" sets the handle to "Free", and selecting "Automatic" or "Auto Clamped" sets it to "Aligned".

Not sure if this is expected behavior, but choosing an option to get a different one be set felt weird. Most of all, I couldn't set it as Vector from there, so I had to press V in the Graph Editor and do it from there. Interestingly, then it appears as "Vector" in the sidebar as well.

I'm attaching a screenshot of the menu I refer to, and a .blend prepared to reproduce the issue (any file with an animation would do).

image.png

Exact steps for others to reproduce the error

  1. Create an animation (already present in the attached .blend file)
  2. Open a Graph Editor
  3. Select a keyframe
  4. Open the Graph Editor's sidebar
  5. Try to change the handle type options in the F-Curve tab of the sidebar

Handles Issue.blend

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 517.40 **Blender Version** Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: `0759f671ce` Worked: Don't know if it ever worked before or when. **Short description of error** When choosing the type of handle for a keyframe in the Graph Editor's sidebar, the options don't work as expected. Selecting "Vector" sets the handle to "Free", and selecting "Automatic" or "Auto Clamped" sets it to "Aligned". Not sure if this is expected behavior, but choosing an option to get a different one be set felt weird. Most of all, I couldn't set it as Vector from there, so I had to press V in the Graph Editor and do it from there. Interestingly, then it appears as "Vector" in the sidebar as well. I'm attaching a screenshot of the menu I refer to, and a .blend prepared to reproduce the issue (any file with an animation would do). ![image.png](https://archive.blender.org/developer/F13615286/image.png) **Exact steps for others to reproduce the error** 1. Create an animation (already present in the attached .blend file) 2. Open a Graph Editor 3. Select a keyframe 4. Open the Graph Editor's sidebar 5. Try to change the handle type options in the F-Curve tab of the sidebar [Handles Issue.blend](https://archive.blender.org/developer/F13615289/Handles_Issue.blend)
Author

Added subscriber: @OliverVillar

Added subscriber: @OliverVillar
Member

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member
handled in these places: - https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/space_graph/graph_buttons.c$292 - https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/curve.cc$4087 related commits: - e73cf35f4a - f1f7648d4c So there seems to be some reasoning behind it, just needs double-checking.

Added subscriber: @ChrisLend

Added subscriber: @ChrisLend

This only works properly if the handles are selected as well. Quite confusing behaviour

This only works properly if the handles are selected as well. Quite confusing behaviour

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

The behaviour seems to stem from f1f7648d4c, back in 2013. From the description it seems reasonable, but I there are some things in there that I don't agree with, at least not given Blender's current architecture. Acting on selection state to change the handle type seems more an activity for an "editor" part of Blender, and not necessarily the "kernel" part. After all, with the current UI, you can change handle types regardless of whether those handles are selected or not, and thus the code that performs this "data sanitation" needs to be aware of what the user was doing at the time.

The behaviour seems to stem from f1f7648d4c, back in 2013. From the description it seems reasonable, but I there are some things in there that I don't agree with, at least not given Blender's current architecture. Acting on selection state to change the handle type seems more an activity for an "editor" part of Blender, and not necessarily the "kernel" part. After all, with the current UI, you can change handle types regardless of whether those handles are selected or not, and thus the code that performs this "data sanitation" needs to be aware of what the user was doing at the time.
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:34:44 +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
5 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#101602
No description provided.