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)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: