Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK 4.6 (Release), Apache Flex 4.10.0, Apache Flex 4.11.0
-
Windows 8.1 using flash player 11.9.900.117 in IE11 and flash player 11.9.900.170 in Chrome.
Description
Steps to Reproduce
1.) Run the attached project
2.) Click on the button labeled "show popup"
3.) Click on the down arrow of the popupmenubutton to display the options
4.) 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