pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIVOT-1028) When SuggestionPopup data changes and an item beyond the new length was highlighted, an IndexOutOfBounds is thrown
Date Thu, 08 Feb 2018 20:10:00 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Roger Whitcomb updated PIVOT-1028:
----------------------------------
    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.

 

  was:
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 shouldn't be the normal
case.

 


> When SuggestionPopup data changes and an item beyond the new length was highlighted,
an IndexOutOfBounds is thrown
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-1028
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1028
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 2.1, 2.0.5
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1
>
>
> 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.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message