diff --git a/developer/src/tike/debug/Keyman.System.Debug.DebugEvent.pas b/developer/src/tike/debug/Keyman.System.Debug.DebugEvent.pas index 4f5ee402112..a9831392090 100644 --- a/developer/src/tike/debug/Keyman.System.Debug.DebugEvent.pas +++ b/developer/src/tike/debug/Keyman.System.Debug.DebugEvent.pas @@ -360,6 +360,13 @@ function TDebugEventList.AddStateItems( AddDebugItem(debug, debugkeyboard, vk, modifier_state); + if action._type = KM_CORE_IT_INVALIDATE_CONTEXT then + begin + // We always ignore invalidate context which can come when a frame key is + // pressed (#11172, #11486) + Inc(action); + end; + if action._type = KM_CORE_IT_EMIT_KEYSTROKE then begin // The EMIT_KEYSTROKE action comes after all rules have completed processing