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

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

        1. firstclick.png
          16 kB
          Robert Lichtenberger
        2. MenuShowBug.java
          2 kB
          Robert Lichtenberger

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

              Created:
              Updated:
              Resolved: