[Lazarus] Unneeded Paint calls from LCL

Martin Frb lazarus at mfriebe.de
Wed Jan 15 14:02:35 CET 2020

On 15/01/2020 12:02, Juha Manninen via lazarus wrote:
> I understood that Paint gets called by LCL excessively when a form is
> created or shown. Yes, I guess it should be optimized.
> Debugging the events flowing back and forth is challenging. Placing
> DebugLn() lines into relevant event handlers is the best way. And yes,
> it partly happens in widgetset code.

It should be possible to use "none breaking" breakpoints (without 
causing extra paint or focus events) and then go through the debug 
history to see stackframes.

More information about the lazarus mailing list