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

PIT: Menus and Sub-menus are shown outside the frame, XToolkit

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b43
    • CPU:
      sparc
    • OS:
      solaris_10
    • Verification:
      Verified

      Description

      I am setting the font size of the menubar to 30 and adding some menus, sub-menus to it. The size of the menu is big in such a way that some of the menus in the menubar are not visible. I am pressing the mouse on the first menu and keep pressing the right arrow. The sub-menus of each menu is shown. When I keep pressing it, I could see the sub-menus of the hidden menus being shown outside the frame. This is incorrect. Sub-menus should not be shown for menus which are hidden. This looks pretty ugly.

      This is reproducible only on Sol10-JDS and not on Win32. This is not reproducible with Mustang-b35.
      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 have attached the sample test. Execute the sample test. Resize the frame so that only first 3 menus are shown on the frame. Click the first menu. Press the right arrow. Keep pressing the right arrow. You would see some menus being shown outside the frame (menus which are actually hidden).
      ###@###.### 2005-05-16 10:26:10 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vbaranovsunw Vyacheslav Baranov (Inactive)
              Reporter:
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: