anchor.diff:      FLastTooltipLine: integer;
       FLastAppActivate: QWord;
       FLastSaveSessionTick: QWord;
  +    FFormActivateAlreadyCalled: boolean;
       FNeedToMaximize: boolean;
       FDisableTreeClearing: boolean;
       FInvalidateShortcuts: boolean;
  
positive.code: procedure TfmMain.FormActivate(Sender: TObject);
  begin
    AppActiveForm:= Sender;
  
    if FNeedToMaximize then
    begin
  
negative.code:   _Init_KeymapMain;
    _Init_KeymapNoneForEmpty;
    _Init_StartupSession;
  
    {$ifdef windows}
    //fix issue 'form is not maximized initially, with 2+ groups'
    if FFormActivateAlreadyCalled then
      FormActivate(Self);
    {$endif}
  
    //after on_start, ConfigToolbar is slow with visible toolbar
    DoApplyUiOps;
  