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.
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!