Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC95DF55C for ; Fri, 22 Mar 2013 18:50:31 +0000 (UTC) Received: (qmail 17716 invoked by uid 500); 22 Mar 2013 18:50:31 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 17681 invoked by uid 500); 22 Mar 2013 18:50:31 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 17673 invoked by uid 99); 22 Mar 2013 18:50:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 18:50:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-ia0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 18:50:26 +0000 Received: by mail-ia0-f172.google.com with SMTP id l29so3857394iag.31 for ; Fri, 22 Mar 2013 11:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=682DthUvhxckLRMtYwapMePS36gKpRFWeIGM8Lzq53s=; b=Un3DVqgs5nZVCiN4DD9T0Hh5pQDcaBQXaK8MgGeClIj3738u9JZwsuZ7YwtgLislgt dQRrsq4iL2kgaq6YjsbITOQM9mcsERXfxMzMn81X9bf7LfTJd1w5Hdpht9aUAU1x89Xi LTS2L2hy9EPqxaS9XV4aRj8cFd4nuy7589re2L4x79H/MopLIljAL7WFdLjhhs9BtOGI 2TejpUZqy9blRAAj+NEoHmDJgkyWvRpHgR19x/o/Un1EnnYlP7ATIDBY9Uml9bZBe7Bx 6KvMEO20cHmOmG3s8QyFuB7nW4sNweZ0eYp9lidjYZQ5DY1VQ+R6YWFEmn1LmprUGmBR +N9g== MIME-Version: 1.0 X-Received: by 10.43.125.199 with SMTP id gt7mr1606321icc.48.1363978205634; Fri, 22 Mar 2013 11:50:05 -0700 (PDT) Received: by 10.50.236.106 with HTTP; Fri, 22 Mar 2013 11:50:05 -0700 (PDT) In-Reply-To: References: <0962B0BEF842A24191AD9BE41A8DD2FC02AE43D1@ch-mailsrv.rd.francetelecom.fr> Date: Fri, 22 Mar 2013 11:50:05 -0700 Message-ID: Subject: Re: request focus From: Joe Bowser To: dev Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org -1 I don't want anything public until we have a process to decide on what we should or should not support. We've been burned in the past by making certain things public, and then not being able to change those methods because someone somewhere depends on it for their app. Architectural flexibility be isn't useful if it removes our flexibility to change things! This is something that has driven us nuts in the past, and that's why we by default try to make things private. If it's private and undocumented, we should reserve the right to change it without having to go through the pain of the deprecation policy. You're free to maintain your local copy and make it public, but it's private right now because we may want to change this in the future, and did not plan for it to be a public api call. On Fri, Mar 22, 2013 at 11:21 AM, Lorin Beer wrote: > I've messed around with programmatic view manipulation in native apps, on > droid and iOS primarily. There's no reason that I'm aware of that these > methods need to be private, and making sure that plugins/native code can > change the view layout is important for overall architecture flexibility. > It may not be the most common use case, but it's certainly an important one. > > +1 from me > > > On Fri, Mar 22, 2013 at 7:38 AM, Andrew Grieve wrote: > >> Sounds good to me! >> >> >> On Thu, Mar 21, 2013 at 9:09 PM, wrote: >> >> > Hi all, >> > >> > >> > >> > We have an android application mixing native views and a CordovaWebView. >> > The problem is the CordovaWebView request the focus when launching the >> > application even in our case it should not be the view selected by >> > default. Unfortunately there is no easy way to override this behavior >> > because inside CordovaWebView constructors a call to a private method >> > setup is done where the focus is requested by calling >> > requestFocusFromTouch which is also final. I would like to submit a pull >> > request for at least change the visibility of setup to protected in >> > order to override this behavior. How does it sound? Did I miss something >> > about why setup is private? >> > >> > >> > >> > BR >> > >> > >> > >> > Denis >> > >> > >>