-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b43
-
sparc
-
solaris_10
-
Verified
I am adding few menus to the menubar and setting a help menu for the menubar. When the frame is initially shown all the normal menus are located on the left hand side and help menu alone is shown on the right most end on XToolkit. On clicking a button, I am removing the normal menus and adding them to a popup menu. All the normal menus are removed from the menubar except the help menu. When this happens, the help menu is moved to left most corner on the PIT build. This is incorrect. Help menu should always be displayed in the same location regardless of whether normal menus are available or not.
This is noticed only on XToolkit with the following PIT build. It works fine on Motif and on Mustang-b35 where help menu stays in the same place where it was shown initially regardless of whether other menus are retained or removed. This is not reproducible on Win32. Here is the PIT build:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-awt-blade-dm97671_11_May_2005_10_32-b00)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b35, mixed mode)
I reproduced it on SolarisSparc10-JDS.
I have attached a sample test. Execute the sample test on XToolkit. You would see a frame. Resize the frame and check whether help menu (Save) is shown at the rightmost corner. Now click on the button. All the menus (except the help menu) would have been removed from the menubar. If the help menu appears at the left most corner, the bug is reproduced.
###@###.### 2005-05-16 14:42:55 GMT
This is noticed only on XToolkit with the following PIT build. It works fine on Motif and on Mustang-b35 where help menu stays in the same place where it was shown initially regardless of whether other menus are retained or removed. This is not reproducible on Win32. Here is the PIT build:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-awt-blade-dm97671_11_May_2005_10_32-b00)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b35, mixed mode)
I reproduced it on SolarisSparc10-JDS.
I have attached a sample test. Execute the sample test on XToolkit. You would see a frame. Resize the frame and check whether help menu (Save) is shown at the rightmost corner. Now click on the button. All the menus (except the help menu) would have been removed from the menubar. If the help menu appears at the left most corner, the bug is reproduced.
###@###.### 2005-05-16 14:42:55 GMT