[Lazarus] usability: please not focus the messages window, only bring to front

zeljko zeljko at holobit.net
Tue May 22 15:37:46 CEST 2012


On Tuesday 22 of May 2012 15:24:21 Bernd wrote:
> with Qt it is even worse. A single ProcessMessages is not enough, I
> have to *wait* until the other window actually has received focus
> before I am allowed to proceed to issue the next focus change.


You tested with example from previous mail ?

zeljko

> 
> procedure TForm1.DoItBetter;
> begin
>   F1.ShowOnTop;
> 
>   while not F1.Active do begin;
>     writeln(FormatDateTime('ss.zzz', Now));
>     Application.ProcessMessages;
>   end;
> 
>   F2.ShowOnTop;
>   WriteLn('done');
> end;
> 
> 53.055
> 53.056
> 53.057
> 53.058
> 53.058
> 53.058
> 53.058
> 53.058
> 53.058
> 53.058
> 53.058
> 53.058
> 53.058
> 53.058
> done
> 
> It takes a few milliseconds with other window managers too but with
> xfwm4 I really have to wait. Other WMs do not require me to wait, with
> xfwm4 I have to wait until OtherFom1 is actually officially active
> until I may proceed with activating OtherForm2.
> 
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120522/6ce3766b/attachment-0003.html>


More information about the Lazarus mailing list