Description

LevelSequenceEditor has input priority over the Level viewport and other editor modules even though the Level viewport has been the last one selected.

An example would be a cut operation. If you have an actor inside a Level and a track inside the Level Sequence, selecting the actor and executing a Cut() operation would expect to cut the actor, but instead it cuts the track.

Steps to Reproduce

1- Open an empty project
2- Add any actor to your map (Cube StaticMeshActor for example)
3- Create and open a LevelSequence
4- Add your actor to the LevelSequence
5- Select your actor in the viewport (this ensures the viewport has the focus)
6- Hit CTRL+X
7- The actor track in the level sequence is removed, instead of removing the actor from the viewport and keeping an invalid actor track.

Callstack

Non-fatal, callstack is just for reference of the described behavior

FSequencer::CutSelection() Sequencer.cpp:10176 [Inlined] Invoke(void (FSequencer::)(), FSequencer *&) Invoke.h:66 [Inlined] UE::Core::Private::Tuple::TTupleBase::ApplyAfter(void (FSequencer::&)(), FSequencer *&) Tuple.h:309 V::TBaseSPMethodDelegateInstance::ExecuteIfSafe() DelegateInstancesImpl.h:298 [Inlined] TDelegate::ExecuteIfBound() DelegateSignatureImpl.inl:570 FUIAction::Execute() UIAction.h:139 FUICommandList::ConditionalProcessCommandBindings(FKey, bool, bool, bool, bool, bool) UICommandList.cpp:235 FUICommandList::ProcessCommandBindings(FKey, const FModifierKeysState &, const bool) UICommandList.cpp:190 FSequencerEdMode::InputKey(FEditorViewportClient *, FViewport *, FKey, EInputEvent) SequencerEdMode.cpp:217 ULegacyEdModeWrapper::InputKey(FEditorViewportClient *, FViewport *, FKey, EInputEvent) LegacyEdMode.cpp:194 ??R<lambda_1>@?1??InputKey@FEditorModeTools@@QEAA_NPEAVFEditorViewportClient@@PEAVFViewport@@UFKey@@W4EInputEvent@@N@Z@QEBA@PEAVUEdMode@@@Z(UEdMode *) EditorModeManager.cpp:1404 [Inlined] UE::Core::Private::Function::TFunctionRefBase::operator()(UEdMode *) Function.h:555 FEditorModeTools::ForEachEdMode(TFunctionRef<…>) EditorModeManager.cpp:636 FEditorModeTools::InputKey(FEditorViewportClient *, FViewport *, FKey, EInputEvent, bool) EditorModeManager.cpp:1399 FEditorViewportClient::Internal_InputKey(const FInputKeyEventArgs &) EditorViewportClient.cpp:3039 FLevelEditorViewportClient::InputKey(const FInputKeyEventArgs &) LevelEditorViewport.cpp:3545 FSceneViewport::OnKeyDown(const FGeometry &, const FKeyEvent &) SceneViewport.cpp:1066 SViewport::OnKeyDown(const FGeometry &, const FKeyEvent &) SViewport.cpp:287 [Inlined] FSlateApplication::ProcessKeyDownEvent::l22::<lambda_2>::operator()(const FArrangedWidget &, const FKeyEvent &) SlateApplication.cpp:4789 ??$Route@VFReply@@VFBubblePolicy@FEventRouter@@UFKeyEvent@@V<lambda_2>@?BG@??ProcessKeyDownEvent@FSlateApplication@@QEAA_NAEBU4@@Z@@FEventRouter@@SA?AVFReply@@PEAVFSlateApplication@@VFBubblePolicy@0@UFKeyEvent@@AEBV<lambda_2>@?BG@??ProcessKeyDownEvent@2@QEAA_NAEBU4@@Z@W4ESlateDebuggingInputEvent@@@Z(FSlateApplication *,FBubblePolicy,FKeyEvent,const <lambda_2> &,ESlateDebuggingInputEvent) SlateApplication.cpp:447 [Inlined] FEventRouter::RouteAlongFocusPath(FSlateApplication *, FBubblePolicy, FKeyEvent, const <lambda_2> &, ESlateDebuggingInputEvent) SlateApplication.cpp:416 FSlateApplication::ProcessKeyDownEvent(const FKeyEvent &) SlateApplication.cpp:4785 FSlateApplication::OnKeyDown(const int, const unsigned int, const bool) SlateApplication.cpp:4696 FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage &) WindowsApplication.cpp:2075 FWindowsApplication::DeferMessage(TSharedPtr<…> &, HWND_ *, unsigned int, unsigned long long, long long, int, int, unsigned int) WindowsApplication.cpp:2750 FWindowsApplication::ProcessMessage(HWND__ *, unsigned int, unsigned long long, long long) WindowsApplication.cpp:1919 [Inlined] WindowsApplication_WndProc(HWND__ *, unsigned int, unsigned long long, long long) WindowsApplication.cpp:923 FWindowsApplication::AppWndProc(HWND__ *, unsigned int, unsigned long long, long long) WindowsApplication.cpp:928 <unknown> 0x00007ff81e0aef5c <unknown> 0x00007ff81e0ae684 [Inlined] WinPumpMessages() WindowsPlatformApplicationMisc.cpp:116 FWindowsPlatformApplicationMisc::PumpMessages(bool) WindowsPlatformApplicationMisc.cpp:145 FEngineLoop::Tick() LaunchEngineLoop.cpp:5844 [Inlined] EngineTick() Launch.cpp:61 GuardedMain(const wchar_t *) Launch.cpp:182 LaunchWindowsStartup(HINSTANCE__ *, HINSTANCE__ *, char *, int, const wchar_t *) LaunchWindows.cpp:247 WinMain(HINSTANCE__ *, HINSTANCE__ *, char *, int) LaunchWindows.cpp:298 [Inlined] invoke_main() 0x00007ff66ea7a37a __scrt_common_main_seh() 0x00007ff66ea7a359 <unknown> 0x00007ff81dfe7374 <unknown> 0x00007ff81fb7cc91

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-231640 in the post.

1
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions5.45.5
Target Fix5.6
Fix Commit38667064
CreatedNov 27, 2024
ResolvedDec 13, 2024
UpdatedDec 13, 2024
View Jira Issue