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

ComboBox does not scroll to the selected item

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE REQUEST :
      See #8129123

      Since there does not appear to be a way to add a comment for a bug report I am requesting a feature -- that this issue be addressed. I can verify that the expected behavior still is not present in 9.0.4.

      JUSTIFICATION :
      TableView and ListView both have the needed scrollTo() feature.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      When a selection is made that is not in the visible rows the ComboBox should scroll to the selection or at least, allow programmatic scrolling.
      ACTUAL -
      The selected value is hidden in the not visible rows

      ---------- BEGIN SOURCE ----------
      Any combobox where selection is made programattically (i.e. a search for a value) and the selected value is outside the visible rows.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      I am going to have to redesign my input Scene Graph. I will replace the ComboBox with a button which, when pushed, displays a Dialog with a ListView or a single column TableView that provides the scrollTo() feature. This will undoubtedly work but it will be clumsy.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: