You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2015/10/14 01:28:05 UTC

[jira] [Commented] (CB-7534) Fast useless rotation (90 deg) breaks layout

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

Richard B Knoll commented on CB-7534:
-------------------------------------

Are you speaking about Android? If so, the rotation might not be something we can prevent. The camera plugin calls the device's native camera application to take the picture and (because it is an external application) we don't control the orientation of the Activity that appears. Can you give an example of what layouts break when orientation occurs?

> Fast useless rotation (90 deg) breaks layout
> --------------------------------------------
>
>                 Key: CB-7534
>                 URL: https://issues.apache.org/jira/browse/CB-7534
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 3.3.0
>            Reporter: David Vielhuber
>
> Hi!
> With using the integrated Camera Plugin 2.9.0 from Phonegap Build I have problems with my layout.
> After I take a photo and press e.g. the back button, the screen is rotated by 90 degrees and fastly rotates back to its original orientation. The problem is that sometimes my layout is destroyed through this fast orientation change.
> When using instead other camera plugins (e.g. org.wbt11a.nativecamera), the screen never changes in orientation (i only use portrait mode).
> Is this fixed in a future version (e.g. v3)?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org