Page MenuHome

Active keyframe changes with active FCurve on deselect of keyframe
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.4.0-51-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.80.02

Blender Version
Broken: version: 2.91.0 Alpha, branch: master (modified), commit date: 2020-10-20 13:26, hash: rB8319279fdbdd
Worked: never, new feature introduced in rB983ad4210b9e

Short description of error
In the graph editor, deselecting a keyframe activates that keyframe's curve. As a result, that curve's active keyframe becomes the overall active keyframe for that editor.

Exact steps for others to reproduce the error

  • Open the attached blend file
  • The last X-rotation keyframe is active
  • Deselect the middle Y-rotation keyframe, by shift-clicking on it

Expected behaviour: the active key remains the same.

Observed behaviour: the last keyframe of the Y-rotation curve is now active.

Possible solutions

I see two solutions here:

  • Keep track of the active keyframe separate from the active FCurve. That would even allow for different active keyframes per graph editor (not sure if that's desirable though).
  • On de-selecting a keyframe, don't change what is active FCurve. That way both the active FCurve and the active keyframe are determined by selection only, and should stay in sync.

Event Timeline

Sybren A. Stüvel (sybren) changed the task status from Needs Triage to Confirmed.Oct 20 2020, 4:53 PM
Sybren A. Stüvel (sybren) created this task.
Sybren A. Stüvel (sybren) updated the task description. (Show Details)
Sybren A. Stüvel (sybren) updated the task description. (Show Details)
Sybren A. Stüvel (sybren) changed the subtype of this task from "Report" to "Bug".Oct 20 2020, 5:01 PM
Hans Goudey (HooglyBoogly) added a project: Restricted Project.
Hans Goudey (HooglyBoogly) moved this task from Papercuts Backlog to Bugs on the User Interface board.