This was the case when an Annotation is also present as in the report.
Since rB92d7f9ac56e0: Animation: Add GP layers in regular Dopesheet, Dopesheet is aware of greaspencil/annotations
(displays its channels/keyframes, can rename their data, layers, fcurve
groupings etc.). However, the Graph Editor does not display these /
should not be aware of them.
Above commit already had issues that were addressed in the following
commits (mostly adding the new ANIMFILTER_FCURVESONLY to places that
dont handle greasepencil/annotations)
- rBfdf34666f00f: Fix Unreported : add F-curves only filter to functions only appliable to F…
- rB45f483681fef: Fix T100093: Channel selection and grouping issues
- rBa26038ff3851: Fix T99505: NLA tweak mode crashes with GPencil data
Now in T103303 it was reported that doublicking a channel would not
select all fcurve`s keyframes anymore and this wasnt actually an issue
with that particular operator, but instead with another operator that is
also mapped to doubleclicking: the channel renaming (I assume the
keyconflict here is actually wanted behavior).
Channel renaming would not return OPERATOR_PASS_THROUGH here anymore
in the case nothing cannot be renamed, so we would not actually reach
the 2nd operator at all (the one selecting all keyframes).
Deeper reason for this is that the renaming operator would actually
"see" a channel that could be renamed (in the case of the report: an
annotation layer), but then cannot proceed, because the "real"
underlying data where the doubleclick happens is an fcurve...
So now exclude non-greasepencil channels in filtering as well where
appropriate (namely animdata_filter_dopesheet /
animdata_filter_animchan / animdata_filter_dopesheet_scene /
animdata_filter_dopesheet_ob) by also adding ANIMFILTER_FCURVESONLY
to the filter there.
Fixes T103303.