-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b15
-
x86
-
linux_suse_sles_10
-
Verified
I have a frame with a canvas created using Default screen's graphics configuration. After showing the frame, I am moving the frame (with canvas) from primary to secondary screen and trying to get the current graphics configuration by calling getGraphicsConfiguration(). Frame returns the secondary monitor's graphics config as the current config whereas Canvas still returns the primary screen's GC. Canvas is not inheriting the GC properly from the top-level window.
This is reproducible on SuSE10 and not reproducible on WinXP (both are virtual screen enviroments). I tried on SuSE10 + xinerama as well as SuSE10 + TwinView and the bug is reproducible on both. For Twin-View, I used Nvidia GeForce FX5900. This bug is causing few false failures in the multimonitor testsuite. This is reproducible atleast since JDK5.
I have attached the same test. Run the test. You will see a frame with a blue canvas and a button. Click on the button and take a note of the GC shown on the console. Move the frame manually to the secondary monitor and click on the button again. If the canvas shows the same GC, the bug is reproduced.
This is reproducible on SuSE10 and not reproducible on WinXP (both are virtual screen enviroments). I tried on SuSE10 + xinerama as well as SuSE10 + TwinView and the bug is reproducible on both. For Twin-View, I used Nvidia GeForce FX5900. This bug is causing few false failures in the multimonitor testsuite. This is reproducible atleast since JDK5.
I have attached the same test. Run the test. You will see a frame with a blue canvas and a button. Click on the button and take a note of the GC shown on the console. Move the frame manually to the secondary monitor and click on the button again. If the canvas shows the same GC, the bug is reproduced.
- relates to
-
JDK-4452373 display change on win32 not propagating to all heavyweight components
- Resolved
-
JDK-5085626 Exponential performance regression in AWT components (multiple monitors)
- Resolved
-
JDK-6612497 api/java_awt/Container/index.html#isAncestorOf Container2019 hangs since JDK 7 b15
- Closed
-
JDK-6631680 REGRESSION: api/java_awt/Container/index.html#isAncestorOf[Container2019] hangs up
- Closed