Test
api/javax_swing/JPopupMenu/descriptions.html#setgetXXX
fails on linux ubuntu 8.04 GNOME desktop 2.22.1 with compiz extension
turned off (System->Parameters->Appearance Preferences; open "Visual
Effects" tab and select "None").
Test creates JPopupMenu sets location to (1,1) then verifies that
JPopupMenus's location on screen is (1,1). Ubuntu desktop has a gnome panel
on the top of screen, and popup appears under the panel (by y axis), so popups's
location on screen is (1,25).
With sun jdk 6, popup menu always appears in point (1,1) above
gnome panel (z-order), with first menu item selected.
With open jdk 6 popup menu first menu item is never selected, with compiz
extension it appears below gnome panel by z axis, and with no compiz
extension under the panel by y axis.
Versions:
sun jdk 6
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
open jdk 6
openjdk version "1.6.0-ea"
OpenJDK Runtime Environment (build 1.6.0-ea-b08)
OpenJDK Client VM (build 10.0-b19, mixed mode)
Screenshots and test code are in attachement
see comments