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

[ComboBox] ComboBox does not reflect change in button cell immediately

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7-pool, 8u5
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description

      Change made by setButtonCell on ComboBox is not propagated immediately. New cell becomes used only after change in selected item has been made.

      This results in the following behaviour
      1) calling setButtonCell on new ComboBox when nothing is selected -> default cell is still visible
      2) setting cell to different one -> visible only after change in selected item

      Tested on 7u60, 8u5, 8u20_b17

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            lvitasekjfx Lukas Vitasek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: