TGtk2WidgetSet.SetAppActive Seems work crazy lazarus / 31-LCL ---------------------------------------------------------------------- ϻαϻɾΣɀО · 2016-06-10 00:31 Hi If you know Conky(system monitor) on linux this application will alive and visible even it's application/process run into deactivated! I have same view in Conky,  A visible window to monitor somthing, and there is some setting forms. But in my case Everything will disappeared on one of other forms show/hide. Tracing codes get me in TGtk2WidgetSet.SetAppActive place! The question: Why when application run into deactivate, Application tries to AppRemoveStayOnTopFlags? In other words, What is means of StayOnTop? It must keep visible and stayontop out of Application scop. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TGtk2WidgetSet.SetAppActive(const AValue: Boolean);begin  if AValue <> FAppActive then  begin    FAppActive := AValue;    if FAppActive then    begin      Application.IntfAppActivate;      AppRestoreStayOnTopFlags(False);    end else    begin      Application.IntfAppDeactivate;      AppRemoveStayOnTopFlags(False); //[b]<<==Here is the question[/b]    end;  end;end;  I have commented that line and it seems work fine, However I didn't check if something goes wrong!