View Issue Details

IDProjectCategoryView StatusLast Update
0026087LazarusLCLpublic2019-04-22 19:33
ReporterMartin FriebeAssigned ToMartin Friebe 
Status closedResolutionfixed 
Platformw32OSwinOS Versionvista
Product Version1.3 (SVN)Product Build 
Target Version1.4Fixed in Version1.3 (SVN) 
Summary0026087: Problem with TScrollingWinControl.ScrollBy / Unecessary Invalidate
line 215
See below

After calling WidgetSet there is an Invalidate.

This means a full repaint, which on some WS is not needed.

E.g. Windows call "ScrollWindow", which scrolls the visible area on the screen, and only invalidates parts that scrolled in, or otherwise need painting.

So that would significantly reduce painting, if the Invalidate was not present.
Additional Informationprocedure TScrollingWinControl.ScrollBy(DeltaX, DeltaY: Integer);
  if HandleAllocated and IsWindowVisible(Handle) then
    TWSScrollingWinControlClass(WidgetSetClass).ScrollBy(Self, DeltaX, DeltaY);
    inherited ScrollBy(DeltaX, DeltaY);
TagsNo tags attached.
Fixed in Revision44840
Attached Files


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-04-28 15:13 Martin Friebe New Issue
2014-04-28 22:18 Martin Friebe Fixed in Revision => 44840
2014-04-28 22:18 Martin Friebe LazTarget - => 1.4
2014-04-28 22:18 Martin Friebe Status new => resolved
2014-04-28 22:18 Martin Friebe Fixed in Version => 1.3 (SVN)
2014-04-28 22:18 Martin Friebe Resolution open => fixed
2014-04-28 22:18 Martin Friebe Assigned To => Martin Friebe
2014-04-28 22:18 Martin Friebe Target Version => 1.4
2019-04-22 19:33 Martin Friebe Status resolved => closed