-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
6
-
sparc
-
solaris_10
I have added a textarea and a text field to a frame. I have set the font size to 35, font to SansSerif and style as BOLD. Now when I start typing on the text area, the line in which I am typing appears in white color where as other lines appear in a different color. Moreover, when I press 'CTRL + TAB' and move the focus out of the text area, the color of the text area turns gray. When I bring the focus back to TextArea, the line where the cursor is located appears in white where as other parts of text area appear in gray. This looks pretty bad.
This is happening only when running on OpenGL mode with the following PIT build on XAWT:
java version "1.6.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-internal-df153228_01_Nov_2005_11_12-b00)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b58, mixed mode)
This is not reproducible on the default mode. This is not reproducible with OpenGL on Mustang-b59. This is not reproducible on Win32/motif with the above build. Hence this is a regression introduced in XAWT in the above PIT build. I am wondering whether it is due to the bug fix: 5092883. I reproduced it on SolarisSparc10-JDS (SunBlade2500) which has XVR-600 frame buffer.
I have attached a sample test. Execute the sample test on SolSparc10 with '-Dsun.java2d.opengl=True'. A frame would appear. Resize the frame so that the text in TextArea is completely visible. Click inside the text area. You would notice that the color of the textarea turns gray. Move the focus from TextArea and TextField and watch the color changes in the textarea. If TextArea turns gray at any point, the bug is reproduced.
This is happening only when running on OpenGL mode with the following PIT build on XAWT:
java version "1.6.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-internal-df153228_01_Nov_2005_11_12-b00)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b58, mixed mode)
This is not reproducible on the default mode. This is not reproducible with OpenGL on Mustang-b59. This is not reproducible on Win32/motif with the above build. Hence this is a regression introduced in XAWT in the above PIT build. I am wondering whether it is due to the bug fix: 5092883. I reproduced it on SolarisSparc10-JDS (SunBlade2500) which has XVR-600 frame buffer.
I have attached a sample test. Execute the sample test on SolSparc10 with '-Dsun.java2d.opengl=True'. A frame would appear. Resize the frame so that the text in TextArea is completely visible. Click inside the text area. You would notice that the color of the textarea turns gray. Move the focus from TextArea and TextField and watch the color changes in the textarea. If TextArea turns gray at any point, the bug is reproduced.
- relates to
-
JDK-5092883 REGRESSION: SystemColor class gives back wrong values under Linux
- Resolved