incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Amsellem (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33165) RTE on Scroller when rotating device in mobile simulator
Date Thu, 09 Aug 2012 09:16:20 GMT

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

Maurice Amsellem updated FLEX-33165:
------------------------------------

    Description: 
When rotating the mobile simulator (Menu Device>Rotate left or right), I get the following
error:
{code}
at spark.components::Scroller/http://www.adobe.com/2006/flex/mx/internal::snapElement()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1571]
	at spark.components::Scroller/checkScrollPosition()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1750]
	at spark.components::Scroller/handleSizeChange()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1766]
	at spark.components::Scroller/handleSizeChangeOnUpdateComplete()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:2048]
{code}

In Scroller:1571     viewport[scrollProperty] = snapScrollPosition;
scrollProperty is null, which trigger the RTE.

Scroller belongs to a spark:List with HorizontalLayout and verticalScrollPolicy style is set
to ScrollPolicy.OFF.


also, the RTE does not seem to occur on the real device, but maybe it is just swallowed...


  was:
When rotating the mobile simulator (Menu Device>Rotate left or right), I get the following
error:
{code}
at spark.components::Scroller/http://www.adobe.com/2006/flex/mx/internal::snapElement()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1571]
	at spark.components::Scroller/checkScrollPosition()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1750]
	at spark.components::Scroller/handleSizeChange()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1766]
	at spark.components::Scroller/handleSizeChangeOnUpdateComplete()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:2048]
{code}

Scroller belongs to a spark:List with HorizontalLayout and verticalScrollPolicy style is set
to ScrollPolicy.OFF.

also, the RTE does not seem to occur on the real device, but maybe it is just swallowed...


    
> RTE on Scroller when rotating device in mobile simulator
> --------------------------------------------------------
>
>                 Key: FLEX-33165
>                 URL: https://issues.apache.org/jira/browse/FLEX-33165
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: Scroller
>    Affects Versions: Adobe Flex SDK 4.6 (Release)
>            Reporter: Maurice Amsellem
>            Priority: Minor
>
> When rotating the mobile simulator (Menu Device>Rotate left or right), I get the following
error:
> {code}
> at spark.components::Scroller/http://www.adobe.com/2006/flex/mx/internal::snapElement()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1571]
> 	at spark.components::Scroller/checkScrollPosition()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1750]
> 	at spark.components::Scroller/handleSizeChange()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1766]
> 	at spark.components::Scroller/handleSizeChangeOnUpdateComplete()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:2048]
> {code}
> In Scroller:1571     viewport[scrollProperty] = snapScrollPosition;
> scrollProperty is null, which trigger the RTE.
> Scroller belongs to a spark:List with HorizontalLayout and verticalScrollPolicy style
is set to ScrollPolicy.OFF.
> also, the RTE does not seem to occur on the real device, but maybe it is just swallowed...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message