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

ComboBox with Text items - incorrect rendering

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 7 64bit
      Java 7_u2 32&64bit
      JavaFX 2.1.12 32&64bit

      Description

      Run attached app.

      You'll see combo box containing three strings.

      Click at any item, for example second string.

      String will appear at top, but will disappear from list itself, like at picture attached.

      After clicking another line, effect will be the same.

      After all, combo box will contain only blank lines.

      BTW, physically items are at their place and can be chosen.

      But they became totally invisible.


      UPDATE

      If replace line where items added to combo box to simple
      ///////////////////
      cmb.getItems().addAll("Veni","Vidi","Vici");
      /////////////////////////

      , effect disappears.

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              atyukpiekjfx Anatoliy Tyukpiekov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: