-
Bug
-
Resolution: Fixed
-
P2
-
6
-
b40
-
sparc
-
solaris_9
-
Verified
I am adding a popup menu to a textarea. When the component is located near the bottom end of the screen, right clicking the mouse near the bottom periphery must make the popup menu open above the mouse pointer so that it does not get hidden. But on XToolkit, with the current PIT build, the popup menu gets opened at the same location where mouse was clicked regardless of where the screen periphery is and hence the entire popup menu gets hidden below the screen.
The mouse locations must be validated against the screen size and location of the popup menu must be altered accordingly.
This is noticed on XToolkit only with the given PIT build and not reproducible on Mustang-b35. Hence this is a PIT failure. I reproduced in SolarisSparc9-CDE. This is happening only for the main-menu. This is handled properly for sub-menus.
java version "1.6.0-awt.pit-int-awt-blade"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-awt-blade-df153228_06_May_2005_08_56-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b35, mixed mode)
Run the attached sample test. You would see a Frame. Click the button. Move the frame to the bottom end of the screen. Right click inside the text area just above the bottom screen periphery. If the popup menu opens up there itself and gets hidden below the screen, the bug is reproduced.
###@###.### 2005-05-09 10:22:26 GMT
The mouse locations must be validated against the screen size and location of the popup menu must be altered accordingly.
This is noticed on XToolkit only with the given PIT build and not reproducible on Mustang-b35. Hence this is a PIT failure. I reproduced in SolarisSparc9-CDE. This is happening only for the main-menu. This is handled properly for sub-menus.
java version "1.6.0-awt.pit-int-awt-blade"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-awt-blade-df153228_06_May_2005_08_56-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b35, mixed mode)
Run the attached sample test. You would see a Frame. Click the button. Move the frame to the bottom end of the screen. Right click inside the text area just above the bottom screen periphery. If the popup menu opens up there itself and gets hidden below the screen, the bug is reproduced.
###@###.### 2005-05-09 10:22:26 GMT