[Lazarus] IDE CoolBar issue

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Sep 9 09:49:11 CEST 2015


On Wed, 9 Sep 2015 09:34:59 +0300
Juha Manninen <juha.manninen62 at gmail.com> wrote:

> On Wed, Sep 9, 2015 at 8:09 AM, patspiper <patspiper at gmail.com> wrote:
> > The patch works indeed. I haven't inspected the dektop manager code, but
> > QueueAsync call may be more suited for the task than a timer.
> 
> Another choice in OnIdle handler.
> The benefit would be that also the initial update of the IDE Coolbar
> would be delayed and the IDE would be ready for editing sooner.

Any change to the IDE LCL controls triggers updates. If you want a
slow starting IDE change properties in OnIdle, QueueAsyncCall, TTimer,
OnResize, OnShow and outside Disable/EnableAlign.


> Lazarus still starts a lot slower than many competing advanced
> programmers' editors. There is no good reason for it because we don't
> use virtual machines like Java or .NET based systems do (including
> Delphi now).
> I optimized the Component Palette startup a lot but there is still more to do.

What is the problem?

Mattias




More information about the Lazarus mailing list