Issue 121173 - UnoControlGrid scrollbar repaint shows twice last row
Summary: UnoControlGrid scrollbar repaint shows twice last row
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Normal
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2012-10-07 07:31 UTC by bmarcelly
Modified: 2013-02-24 21:08 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Grid showing the repaint bug (13.33 KB, application/vnd.oasis.opendocument.text)
2012-10-07 07:31 UTC, bmarcelly
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bmarcelly 2012-10-07 07:31:50 UTC
Created attachment 79739 [details]
Grid showing the repaint bug

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.
Comment 1 Oliver Brinzing 2012-10-07 09:42:18 UTC
Comment 2 hanya 2012-10-08 09:53:32 UTC
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.