flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kevin godell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34712) Callout loses anchor to CalloutButton while callout open and screen rotates
Date Tue, 03 Feb 2015 12:38:34 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303200#comment-14303200
] 

kevin godell commented on FLEX-34712:
-------------------------------------

I just installed 4.15 a few minutes ago and tried it on an android tablet.
It works. I do not have time right now to try on iPhone because I have to
leave for work(long commute caused by the recent Chicago blizzard). I hope
to verify on iOS tonight and I will give further details.




> Callout loses anchor to CalloutButton while callout open and screen rotates 
> ----------------------------------------------------------------------------
>
>                 Key: FLEX-34712
>                 URL: https://issues.apache.org/jira/browse/FLEX-34712
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mobile: Callout / CalloutButton
>    Affects Versions: Apache Flex 4.14.0
>         Environment: windows 7, flashbuilder 4.6, flex 4.14, air 15
>            Reporter: kevin godell
>            Assignee: Piotr Zarzycki
>             Fix For: Apache Flex 4.15.0
>
>         Attachments: calloutButtonCalloutPositionOnResize.fxp
>
>
> When debugging on android device, rotating device from landscape to portrait and then
back again causes callout to lose its positioning to the calloutbutton. It works good on the
simulator, but on the device, it seems that the positioning is called before the screen finishes
rotating. Tested on 3 different android devices with android 2.3.6, 4.2.2, and 4.4.
> workaround: patching callout.as 
> in systemManager_resizeHandler, change invalidatePosition() to callLater(invalidatePosition).
This gives the necessary delay to allow the popup to position itself in the correct location.
It looks a little buggy as it moves from the old position to the new position, but atleast
it gets to the right spot.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message