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

[ContextMenu] prefWidth returns zero before shown (was: Node Orientation - RTL menu bar drop down menus positioned in the wrong place when first shown and at random later)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Duplicate
    • 8
    • 8
    • javafx

    Description

      0) Run Ensemble in RTL.
      1) Got to Menu sample.
      2) Pull down 'Options' (one time)
          - the first time it is aligned incorrectly to the right edge of 'Options'
          - CSS initial size bug?
      3) Pull down 'Options' (again)
          - it is now aligned properly
      4) Popup submenus
          - they are first aligned incorrectly to the right edge
          - the next time they sometimes are aligned correctly, then sometimes seemingly at random
          - does it have anything to do with the position of the mouse?

      NOTE: HelloMenu has the "first time" bug but not the other alignment issues.

      Attachments

        1. colorpicker.png
          colorpicker.png
          47 kB
        2. combobox.png
          combobox.png
          38 kB
        3. menu.png
          menu.png
          5 kB
        4. tooltip.png
          tooltip.png
          14 kB

        Issue Links

          Activity

            People

              psomashe Parvathi Somashekar (Inactive)
              snorthov Steve Northover (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: