[
https://issues.apache.org/jira/browse/FLEX-28807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724101#comment-13724101
]
Saurabh Jain commented on FLEX-28807:
-------------------------------------
The swf do get the focus when the tab changes; not sure who has it though;
but definitely its not title Window.
The scenario that I'm dealing with is
1. I have a title Window which has a escape key down handler for closing
it. It also has mouse down handler for moving it.
2. Now moving to a different tab and returning back does not set focus back
to title Window.
Also mouse down on title Window; NOT ON ITS CHILDREN; does not give it
focus.
Thanks,
Saurabh
> s:TitleWindow didn't get focus when user click on moveArea until one of its
> children get the focus
> --------------------------------------------------------------------------------------------------
>
> Key: FLEX-28807
> URL: https://issues.apache.org/jira/browse/FLEX-28807
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: TitleWindow
> Affects Versions: Adobe Flex SDK 4.5.1 (Release)
> Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Browser: Firefox 3.x
> Language Found: English
> Reporter: Adobe JIRA
> Attachments: DummyApp.mxml
>
>
> Steps to reproduce:
> 1. Create a TitleWindow in a PopUp.
> 2. Attach a listener for the FOCUS_IN event on the titleWindow instance.
> 3. Click on the move area (an eventually move the TitleWindow around)
>
> Actual Results:
> The listener is not called.
>
> Expected Results:
> The listener should be called.
>
> Workaround (if any):
> Set the focus on one of the TitleWindow children, after that when the
> TitleWindow lose the focus, clicking on the moveArea is enough to get the
> focus on the TitleWindow.
>
> You can find in attachment a dummy App to demonstrate the bug, uncomment the
> line 66 workaround the issue (but adding an invisible button only for that
> purpose looks a bad idea :-)
--
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