-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.1
-
generic
-
solaris_10
When a scrollpane is resized smaller such that the veiw port shrinks,
a paint() call on teh content is invoked with the clip rect set to the
viewport size. This causes the child to do unnecessary repainting -
since only the view got smaller, it shouldn't have to repaint itself.
reproducible on both winNT and solaris in jdk1.1beta3.
Reproducible by:
1 cd src/share/test/awt
2 java ScrollPaneTest
3 clone bottom scrollpane with scrollbars "as needed"
4 in new scrollpane, grab scrollbars and drag a little bit so that
the child canvas will repaint a rectangle equating the clip area
in the paint call
5 resize the window smaller such that the viewport shrinks
Note that the child gets a paint for the entire visible region,
even though the view didn't change.
a paint() call on teh content is invoked with the clip rect set to the
viewport size. This causes the child to do unnecessary repainting -
since only the view got smaller, it shouldn't have to repaint itself.
reproducible on both winNT and solaris in jdk1.1beta3.
Reproducible by:
1 cd src/share/test/awt
2 java ScrollPaneTest
3 clone bottom scrollpane with scrollbars "as needed"
4 in new scrollpane, grab scrollbars and drag a little bit so that
the child canvas will repaint a rectangle equating the clip area
in the paint call
5 resize the window smaller such that the viewport shrinks
Note that the child gets a paint for the entire visible region,
even though the view didn't change.
- duplicates
-
JDK-4027069 Page constantly flickering when page loads in latest promoted build
- Closed
- relates to
-
JDK-4023385 jdk 1.0.2, resizing a frame causes too many repaints
- Closed