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 31CBD200B32 for ; Thu, 23 Jun 2016 08:58:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3065A160A58; Thu, 23 Jun 2016 06:58:18 +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 7B2A5160A68 for ; Thu, 23 Jun 2016 08:58:17 +0200 (CEST) Received: (qmail 66960 invoked by uid 500); 23 Jun 2016 06:58:16 -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 66619 invoked by uid 99); 23 Jun 2016 06:58:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2016 06:58:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5EC602C14F8 for ; Thu, 23 Jun 2016 06:58:16 +0000 (UTC) Date: Thu, 23 Jun 2016 06:58:16 +0000 (UTC) From: "Michael Schmidt (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11423) Web view shrinks after locking screen orientation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Jun 2016 06:58:18 -0000 [ https://issues.apache.org/jira/browse/CB-11423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15345921#comment-15345921 ] Michael Schmidt commented on CB-11423: -------------------------------------- Related: CB-11425 > Web view shrinks after locking screen orientation > ------------------------------------------------- > > Key: CB-11423 > URL: https://issues.apache.org/jira/browse/CB-11423 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Screen Orientation > Affects Versions: 1.4.2 > Environment: Using: > - Cordova CLI 6.2.0 > - cordova-ios 4.1.1 > - Xcode 7.3 > - OSX 10.11.5 > Best reproduced on an iOS simulator with iPhone 6s Plus and iOS 9.3. > Reporter: Rafael Barriuso > > Since version 1.4.2 "screen.lockOrientation" works on iOS 9, but for some reason, in some phones the dimensions of the web view are wrong after changing to the new orientation. > Before locking: > !https://www.dropbox.com/s/t2jcqqmg1hni22t/Sim-screenshot2.png?dl=1! > After locking: > !https://www.dropbox.com/s/p64324riwqzepzz/Sim-screenshot1.png?dl=1! > Steps to reproduce: > 1) Prepare a cordova app including cordova-plugin-screen-orientation. > 2) Run the application on a Xcode simulator for iPhone 6s Plus and iOS 9.3. > 3) Rotate the simulator to the left (menu -> Hardware -> Rotate left). > 4) Open the Safari web inspector connected to the app running on the simulator. > 5) In the console, run: window.screen.lockOrientation("portrait-primary") > 6) The width of the resulting "" is shrink, as reported by the Safari web inspector (e.g. in my case to 92px whereas it should be 414px). -- 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