Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0BEBD200B35 for ; Tue, 5 Jul 2016 20:30:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0AAC6160A60; Tue, 5 Jul 2016 18:30:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 44FA3160A6F for ; Tue, 5 Jul 2016 20:30:12 +0200 (CEST) Received: (qmail 82554 invoked by uid 500); 5 Jul 2016 18:30:11 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 82392 invoked by uid 99); 5 Jul 2016 18:30:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2016 18:30:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3F3D42C02B2 for ; Tue, 5 Jul 2016 18:30:11 +0000 (UTC) Date: Tue, 5 Jul 2016 18:30:11 +0000 (UTC) From: "Michael Schmidt (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11287) iOS: landscape iPhone app: webview orientation turns to portrait after camera displayed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 05 Jul 2016 18:30:13 -0000 [ https://issues.apache.org/jira/browse/CB-11287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362953#comment-15362953 ] Michael Schmidt commented on CB-11287: -------------------------------------- I installed it with the command you mentioned. Hmm. > iOS: landscape iPhone app: webview orientation turns to portrait after camera displayed > --------------------------------------------------------------------------------------- > > Key: CB-11287 > URL: https://issues.apache.org/jira/browse/CB-11287 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Statusbar > Affects Versions: 2.2.0 > Environment: cordova 6.1.1 > ios 4.1.1 > cordova-plugin-camera 2.2.0 "Camera" > Reporter: Michael Schmidt > Assignee: jcesarmobile > Labels: iOS > > *situation* > * app in landscape mode > {code:JavaScript} > > {code} > * camera options > {code:JavaScript} > { > destinationType: Camera.DestinationType.FILE_URI, > sourceType: Camera.PictureSourceType.CAMERA, > encodingType: Camera.EncodingType.JPEG, > mediaType: Camera.MediaType.PICTURE, > }; > {code} > *problem* > After displaying the camera, the app viewport turns to portrait mode - despite that the whole app is set to landscape. > This takes place for either taking a picture or pressing cancel. > This bug occurs only on iPhone, it works on iPad though. > *appearance* > the bug (viewport turns portrait) appears in all combinations of > - holding phone in portrait/landscape > - setting correctOrientation to true/false > - using Camera.PictureSourceType.PHOTOLIBRARY/Camera.PictureSourceType.CAMERA > *possibly related* > this error occurs after closing the camera picker: > {code} > 2016-06-04 16:38:37.527 CordovaApp[2217:1174793] Warning: Attempt to present on whose view is not in the window hierarchy! > {code} > *regression from camera 1.2.0* > This is a regression - it works reproducably in the following configuration: > {code} > cordova 5.3.3 > cordova-ios 3.9.1 > cordova-plugin-camera 1.2.0 > {code} > it slowly degraded: with cordova-plugin-camera 2.0.0 it showed wrong - but still still could changed by rotating the phone back and forth. With cordova-plugin-camera 2.0.0 the actual phone orientation makes a difference when correctOrientation is set to true - it seems that the bug occurs only when the phone is held in portrait during the camera open > -> seems to be related to correctOrientation -- 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