Apache OpenOffice (AOO) Bugzilla – Issue 121173
UnoControlGrid scrollbar repaint shows twice last row
Last modified: 2013-02-24 21:08:12 UTC
Created attachment 79739 [details] Grid showing the repaint bug Context: The c.s.s.awt.UnoControlGrid displays a vertical scrollbar. _Drag_ the scrollbar completely down: the last row is displayed twice. Same if you click the down arrow of the scrollbar until last row displays. Depending on the grid height and row height, the duplicated last row may just appear as a thin line. Attachment contains an example.
.
If BackgroundColor of the grid model is void, its background is not filled at redrawing and older drawing is remained. It seems to set its BackgroundColor or invalidate its parent window is required.