[ https://issues.apache.org/jira/browse/FLEX-33377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13573628#comment-13573628 ]
Alex Harui commented on FLEX-33377: ----------------------------------- I put a breakpoint in the app's down_handler. Then I examined various properties. I think there are other places in the code where folks want to know the visual size of the stage and use stageWidth/stageHeight (or systemManager.screen.width/height). There is centering logic, bounds for drag/drop, etc. I wanted to feel comfortable that if you extend the modal rectangle into negative coordinates that it would not affect that other logic. Doing so would definitely affect stage.width/height, but it appears that the other code uses stageWidth/stageHeight so will be unaffected, which is what we want. So yes, I think you can just extend the modal rectangle to -1, or maybe try adding a 1-pixel border instead (that might be a safer code change). I don't think you need to determine the actual bounds (the non-modal actually extends to -2 and something else is extending to -10). > Focus can be transferred from a modal window to a non-modal window open in > the background if clicked on some specific dimension of the non-modal window > in the background i.e. by clicking on the extreme left i.e. x=0 dimension of > the application. > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: FLEX-33377 > URL: https://issues.apache.org/jira/browse/FLEX-33377 > Project: Apache Flex > Issue Type: Bug > Components: mx: Window > Affects Versions: Adobe Flex SDK 4.6 (Release) > Environment: Web application, flex SDK 4.6. and 4.9 > Flash player version: 11.5.502.146 > Mozilla firefox and IE > Reporter: rahul singh rawat > Priority: Minor > Attachments: Modal_mxTest.fxp, Modal_mxTest-MonkeyPatched.fxp > > > Focus can be transferred from a modal window to a non-modal window open in > the background if clicked ONLY on some specific dimension of the non-modal > window in the background i.e. by clicking on the extreme left i.e. x=0 > dimension of the application. Issue varies with flash player versions and > browser used. The non-modal window is coded to listen to a click event. > However it can be easily reproduced with any browser or flash player version > by setting the x dimension of the non-modal window between-10 to 0 -- 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