Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-1028

When SuggestionPopup data changes and an item beyond the new length was highlighted, an IndexOutOfBounds is thrown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1, 2.0.5
    • 2.1
    • wtk-terra
    • None

    Description

      One way to reproduce is to have a long SuggestionPopup list of suggestions, then move the mouse to a selection down in the list, so it is highlighted, then type something in the attached TextInput so that the list is shorter, then move the mouse out of the suggestion list:  an IndexOutOfBoundsException will be thrown with the error being the old "highlightIndex" of TerraListViewSkin being out of range of the new list data length.

      Appears to only happen if "variableItemHeight" is set true, which is the default for the ListView created by TerraSuggestionPopupSkin.

       

      Attachments

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            rwhitcomb Roger Lee Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: