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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • jfx17
    • Affects Version/s: jfx11, jfx12, jfx13, 8u221, 9
    • Component/s: javafx
    • None
    • Environment:
    • x86_64
    • linux

      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

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

              Created:
              Updated:
              Resolved: