In 5.7, right clicking on AnimSequence notifies track area intermittently (but often enough) invokes context menu by SAnimTimeline instead of the context menu by SAnimNotifyTrack.
I can’t figure out the exact condition, just know that it can be avoided by left clicking before right click to invoke context menu. So i guess that some invalidation might be missing, but failed to fix on our own and report here as this can be reproducible in vanilla unreal 5.7.
[Image Removed]
One thing that we have figured out is that, SAnimTrackArea::OnMouseButtonUp is get involved when SAnimTimeline menu is unexpectedly invoked.
So, the callstack is like
…
** When AnimNotifyTrack contenxt menu is invoked as expected:
UnrealEditor-Persona.dll!SAnimNotifyTrack::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) 줄 2666 C++
[인라인 프레임] UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent::__l10::<lambda_3>::operator()(const FArrangedWidget &) 줄 5547 C++
UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,`FSlateApplication::RoutePointerUpEvent'::`10'::<lambda_3>>(FSlateApplication * ThisApplication, FEventRouter::FBubblePolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerUpEvent::__l10::<lambda_3> & Lambda, ESlateDebuggingInputEvent DebuggingInputEvent) 줄 459 C++
UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent) 줄 5523 C++
** When AnimTimeline contenxt menu is invoked as expected:
UnrealEditor-Persona.dll!SAnimTimeline::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) 줄 361 C++
[인라인 프레임] UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent::__l10::<lambda_3>::operator()(const FArrangedWidget &) 줄 5547 C++
UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,`FSlateApplication::RoutePointerUpEvent'::`10'::<lambda_3>>(FSlateApplication * ThisApplication, FEventRouter::FBubblePolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerUpEvent::__l10::<lambda_3> & Lambda, ESlateDebuggingInputEvent DebuggingInputEvent) 줄 459 C++
UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent) 줄 5523 C++
!! When AnimTimeline contenxt menu is invoked unexpected in AnimNotify area (bug) :
> UnrealEditor-Persona.dll!SAnimTimeline::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) 줄 361 C++
UnrealEditor-Persona.dll!FAnimTimeSliderController::OnMouseButtonUp(SWidget & WidgetOwner, const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) 줄 560 C++
UnrealEditor-Persona.dll!SAnimTrackArea::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) 줄 161 C++
[인라인 프레임] UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent::__l8::<lambda_2>::operator()(const FArrangedWidget &) 줄 5479 C++
UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,`FSlateApplication::RoutePointerUpEvent'::`8'::<lambda_2>>(FSlateApplication * ThisApplication, FEventRouter::FToLeafmostPolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerUpEvent::__l8::<lambda_2> & Lambda, ESlateDebuggingInputEvent DebuggingInputEvent) 줄 459 C++
UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent) 줄 5465 C++
Thanks !
[Attachment Removed]