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

Justin Mclean resolved FLEX-14773.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.10.0

Checked into develop branch.
                
> ListBase::findKey is invoked with event.keyCode instead of event.charCode
> -------------------------------------------------------------------------
>
>                 Key: FLEX-14773
>                 URL: https://issues.apache.org/jira/browse/FLEX-14773
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: List
>    Affects Versions: Adobe Flex SDK 3.0 (Release)
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Browser: Firefox 2.x
> Language Found: English
>            Reporter: Adobe JIRA
>            Priority: Minor
>              Labels: easyfix, easytest
>             Fix For: Apache Flex 4.10.0
>
>
> Steps to reproduce:
> 1. create a Flex application containing a List control populated with a 
> String Array filled with characters O to Z
> 2. run the application and focus the List control
> 3. press the keys F1 to F9 one after another
>  
>  Actual Results:
> pressing F1 selects the "P", pressing F2 selects the "Q" and so on. Pressing 
> F9 selects "X"
>  
>  Expected Results:
>  nothing should get selected
> Additional info:
> This seems to be caused by line 7941 in the ListBase class (default branch of 
> the switch block in the keyDownHandler method). There, event.keyCode is 
> passed to the findKey method. However, in the findKey method 
> String.fromCharCode() is used to get the corresponding character. So instead 
> of passing event.keyCode it should pass event.charCode to the method.
> Btw, this only happens in Firefox Browsers as Internet Explorer does not seem 
> to pass the F keys to the Flash Player. Also, I'm not sure if this is locale 
> specific (I'm running a German Windows XP SP 2)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to