Chris Martin created FLEX-34032:
-----------------------------------

             Summary: abnormal focus behavior in popup ultimiately causes 
unhandled exception
                 Key: FLEX-34032
                 URL: https://issues.apache.org/jira/browse/FLEX-34032
             Project: Apache Flex
          Issue Type: Bug
          Components: mx: PopUpMenuButton, PopUp Manager
    Affects Versions: Apache Flex 4.11.0, Apache Flex 4.10.0, Adobe Flex SDK 
4.6 (Release)
         Environment: Windows 8.1 using flash player 11.9.900.117 in IE11 and 
flash player 11.9.900.170 in Chrome.
            Reporter: Chris Martin
            Priority: Critical


Run the attached project

1.) Click on the button labeled "show popup"
2.) Click on the down arrow of the popupmenubutton to display the options
3.) Without clicking on any options click on the textinput field just to the 
left of the popupmenubutton.

Result

The popupmenubutton maintains focus, and the textinput does not receive focus

Expected Result

The testinput receives focus and the popupmenubutton returns to it's closed 
state.

Detail on why critical issue

The popupmenubutton does not return it its original state, making it impossible 
for the end user to re-display the popupmenu.

If the user were to hover over where the down arrow should be on the 
popupmenubutton the following unhandled exception will be thrown:

ArgumentError: Undefined state 'popUpOver'.
        at 
mx.core::UIComponent/getState()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:10870]
        at 
mx.core::UIComponent/findCommonBaseState()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:10890]
        at 
mx.core::UIComponent/commitCurrentState()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:10644]
        at 
mx.core::UIComponent/setCurrentState()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:10586]
        at mx.core::UIComponent/set 
currentState()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:6477]
        at 
mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewSkinForPhase()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mx/src/mx/controls/Button.as:2007]
        at 
mx.controls::PopUpButton/http://www.adobe.com/2006/flex/mx/internal::viewSkin()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mx/src/mx/controls/PopUpButton.as:734]
        at 
mx.controls::PopUpButton/mouseMoveHandler()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mx/src/mx/controls/PopUpButton.as:1243]

Extra Notes:

Will attach project in next update




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to