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

[Menu] When setting custom font size, the sub menu doesn't adjoin its parent menu

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20, 8u40
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description

      Please see attached snapshots and test program. The program set font size of the Menu to a non-default value. When the menu is near the edge of the screen, the sub menu doesn't adjoin its parent menu.

      This is found with 8u40 and reproducible with 8u20. But 8u11 works fine. So it could be a regression.
      It only happens when the menu is close to the edge of the screen, then the sub menu wraps. When font size is smaller than default, the sub menu keeps away from the parent menu, but when font size is larger, the sub menu overlaps the parent menu.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            jennyh Jenny Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: