[Lazarus] [patch] lhelp scrolling slowness - I might have found it

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Dec 26 15:11:43 CET 2011


Bernd schrieb:
> 2011/12/26 Hans-Peter Diettrich <DrDiettrich1 at aol.com>:
> 
>>> The next step should be to find out what exactly
>>> is going on during a scroll event that causes this to happen every
>>> time.
>> The font size can affect the height of the HTML items, which is required
>> during scrolling.
> 
> But shouldn't the work of loading and applying all the different CSS
> properties of that node only be needed once after parsing is complete
> and not each time it is rendered?

ACK

I'm not sure whether GUI effects (e.g. highlight item under the 
mouse...) can cause differences in the applicable CSS properties of an 
item. But even then the rendering and scrolling should not be slower 
than in an ordinary browser.

DoDi





More information about the Lazarus mailing list