[
https://issues.apache.org/jira/browse/CB-10378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-10378.
-----------------------------
Resolution: Won't Fix
> Viewport dimensions swapped after app restore in Android
> --------------------------------------------------------
>
> Key: CB-10378
> URL: https://issues.apache.org/jira/browse/CB-10378
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 5.4.1
> Environment: Cordova Android 4.1.1 or 5.0.0
> Reporter: Mathijs
>
> h1. Steps to reproduce
> 1. Assure {{<preference name="Orientation" value="landscape" />}} in
> {{config.xml}}
> 2. (Clean) start the app
> 3. Press the back button
> 4. Open the app switcher
> 5. Select the app
> h1. Expected behaviour
> As the app is started the measurements.js code dumps {{screen.availWidth}}
> and {{screen.availHeight}}. When restoring it after pressing the back button,
> the app initializes again and the same values should be displayed.
> h1. Perceived behaviour
> The values for {{screen.availWidth}} and {{screen.availHeight}} are swapped.
> This causes the app's viewport to be renedered at the wrong scale.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]