Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6233556

PIT: Sub-menus added to a popup menu are broken on XToolkit

XMLWordPrintable

    • b25
    • 6
    • b27
    • x86
    • linux_sun
    • Verified

      Sub-menus added to a Popup Menu are not shown at the proper location. When clicking a Sub-menu in a popup menu, the menu items added to the sub-menu are shown much away from the popup menu and none of those menuitems are clickable using mouse. This looks pretty ugly and sub-menus are not all usable. This is reproducible only on the following PIT build, on solaris / linux with XToolkit.

      java version "awt.pit-awt-blade-2005-02-22-Tue-int.mustang"
      Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-awt-blade-2005-02-22-Tue-int.mustang)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b24, mixed mode)

      Not reproducible with Win32. Not reproducible on Mustang-b25.

      I have attached a sample test. Execute it on Solaris / Linux (XToolkit is the default toolkit now on unix platforms). You will see a textarea. Right click inside the text area. A popup menu would appear. Click on any of the menus available on the popup menu. Click on any of the sub-menus. If you see menuitems being shown much away from the actual menu clicked, then the bug is reproduced. Also try clicking those menuitems. If you don't see any message on the console, then no action event is triggered.

      This is a PIT failure and the basic popupmenu feature is broken on XToolkit. XToolkit is the default toolkit now on unix platforms and hence this bug makes the popupmenu unusable on linux and solaris.

      ###@###.### 2005-2-27 15:50:14 GMT

            dmikhalksunw Denis Mikhalkin (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: