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

Regression: Submenu title overlaps with Submenu indicator in JPopupMenu

XMLWordPrintable

    • b80
    • 6
    • b96
    • x86, sparc
    • linux, solaris
    • Verified

      Long Submenu titles are overlapping with submneu indicator in JPopupMenu and it effects for metal and motif look and feels.It works fine in gtk and windows laf.

      The regression introduced from b80 onwards.There was a bug fix went into the b80 against the menu items,that bug(6385366) fix causes the regression in JPoupMenu from b80 onwards.

      JDK version:
      ============
      java version "1.6.0-beta2"
      Java(TM) SE Runtime Environment (build 1.6.0-beta2-b80)
      Java HotSpot(TM) Client VM (build 1.6.0-beta2-b80, mixed mode, sharing)

      Steps to Reproduce:
      ===================
      1. Download the attached code.
      2. Launch the application with b80.

      Expected Behavior:
      ==================
      The submenu title should not overlap with submenu indicator.

      Actual Behavior:
      ================
      The submenu title overlaps the submenu indicator.

            mlapshin Mikhail Lapshin (Inactive)
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: