Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40DC7DE3F for ; Thu, 14 Mar 2013 17:14:13 +0000 (UTC) Received: (qmail 67238 invoked by uid 500); 14 Mar 2013 17:14:13 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 67220 invoked by uid 500); 14 Mar 2013 17:14:13 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 67210 invoked by uid 99); 14 Mar 2013 17:14:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 17:14:13 +0000 Date: Thu, 14 Mar 2013 17:14:12 +0000 (UTC) From: "Michael Brooks (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2411) navigator.camera dismiss photo album popover on orientation change MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602440#comment-13602440 ] Michael Brooks commented on CB-2411: ------------------------------------ Thanks Max! Docs commit: https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;a=commit;h=260e1f56fc588140b8bb29f639a85bc4de33b144 > navigator.camera dismiss photo album popover on orientation change > ------------------------------------------------------------------ > > Key: CB-2411 > URL: https://issues.apache.org/jira/browse/CB-2411 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.3.0 > Environment: Affect iPad only. > Reporter: Scott Kerber > Assignee: Becky Gibson > Priority: Blocker > Labels: features > Fix For: 2.5.0 > > > On the iPad we are displaying the photo album popover using the navigator.camera.getPicture with the following sourceType specified: > Camera.PictureSourceType.SAVEDPHOTOALBUM > we are also positioning the popover by specifying the popoverOptions (Cordova 2.3). This all works fine. > When the user changes the orientation of the iPad we need to re-position the photo album popover appropriately so that it continues to point the element (a button) that displayed the popover. This is a Apple iOS UI requirement and if not done Apple will reject the app. > There is no way to either re-position the popover or dismiss it so that we can call navigator.camera.getPicture again to re-display the photo album popover in the correct location. > Because I cannot hide or cancel the existing popover we are ending up with multiple popovers being displayed as you rotate the iPad to change it's orientation. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira