<Swing Dev> 8071705: Java application menu misbehaves when running multiple screen stacked vertically
Mario Torre
neugens at redhat.com
Tue Jan 27 20:02:59 UTC 2015
Hi all,
I've just created this bug:
https://bugs.openjdk.java.net/browse/JDK-8071705
Basically, there's a problem when using menus with a dual (or more)
monitor configuration and the screens are stacked one on top of the
other.
In this case, the JMenu code that calculates the position for the popup
does not account the screen bounds relative y coordinate, resulting in
application that have popups on the bottom side of the second screen to
have their popup growing upward even if there is space downward.
A proposed fix for the issue is here:
http://cr.openjdk.java.net/~neugens/8071705/webrev.00/
I need to create an automated test case, however I'm not entirely sure
how to do that (since it needs a dual screen setup). Perhaps a manual
test will do?
Cheers,
Mario
More information about the swing-dev
mailing list