<AWT Dev> Please review fix for regression test java/awt/xembed/server/TestXEmbedServer.java
ptisnovs at redhat.com
Fri Dec 17 05:15:23 PST 2010
I've created fix for regression test
java/awt/xembed/server/RunTestXEmbed.java and I'd like to ask for review it.
Webrev containing this fix is available at:
This test fails when it's started on default desktop in Fedora 1x and
Original version of this test works correctly only in cases where the
top of the screen is "free" (it can contains common windows, icons etc.
of course). But in default Gnome configuration on Fedoras and RHELs top
of the screen is occupied by panel containing Gnome menu and several
widgets (NetworkManager, clocks, sound volume...).
It means that common window (frame) cannot be created with y-coordinate
set to zero, because such window is automatically moved down by circa 25
pixels (depending on theme used, of course). And this test does not
correctly compute y-coordinates of both its windows (client and server).
There are several ways to fix this issue, but the simplest one is to
create client and server window using non-zero y-coordinates.
I'd also like to backport this fix to OpenJDK6 too, here is webrev
(almost the same as previous webrev)
Thank you in advance,
More information about the awt-dev