Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-10-17 21:36, hash: rBf425f40c4e17
Worked: (newest version of Blender that worked as expected)
Short description of error
When no keys are selected in the graph editor and you create a selection y box selecting no keyframe is set as active creating the dreaded issue of blender's having selection without active element to perform actions.
Exact steps for others to reproduce the error
open the graph editor
create several keyframe
deselect them all with a.
select with box select, none is active.
- When box selecting the keyframe that is closest to the mouse cursor (not the 2d cursor) should become the active one when box selecting, unless there is already an active keyframe in which case the active keyframe should remain.
Test builds for potential fix
These builds not only fix the box/circle/lasso select by ensuring a keyframe is active, but also update the active FCurve so that the selection also contains the active FCurve.