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

ContextMenu.show with side=TOP does not work the first time in the presence of CSS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u221, 9, openjfx11, openjfx12, openjfx13
    • Fix Version/s: openjfx17
    • Component/s: javafx
    • Labels:
      None
    • Environment:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      when ContextMenu.show(Node anchor, Side side, double dx, double dy) is called and CSS .menu-item { -fx-padding: 10px;} is present, the menu will not appear on top of its anchor.

      MenuShowBug.java shows the problem in two differen

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rlichten Robert Lichtenberger
              Reporter:
              rlichten Robert Lichtenberger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: