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

    • Bug
    • Resolution: Fixed
    • P4
    • jfx17
    • jfx11, jfx12, jfx13, 8u221, 9
    • javafx
    • None
    • x86_64
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: