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

 

  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.

Here is a (partial) stack trace:

 


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



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

Reply via email to