flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Martin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-34032) abnormal focus behavior in popup ultimiately causes unhandled exception
Date Wed, 08 Jan 2014 23:28:50 GMT

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

Chris Martin updated FLEX-34032:
--------------------------------

    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


  was:
h3. Steps to Reproduce

# Run the attached project
# Click on the button labeled "show popup"
# Click on the down arrow of the popupmenubutton to display the options
# Without clicking on any options click on the textinput field just to the left of the popupmenubutton.

h3. Result

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

h3. Expected Result

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

h3. 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:

{noformat}
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]
{noformat}

h3. Extra Notes

Will attach project in next update



> 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: Adobe Flex SDK 4.6 (Release), Apache Flex 4.10.0, Apache Flex 4.11.0
>         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
>              Labels: easytest
>         Attachments: PopupButtonFocusIssue.zip
>
>
> 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



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

Mime
View raw message