Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-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 EED7210222 for ; Tue, 27 May 2014 05:12:42 +0000 (UTC) Received: (qmail 39508 invoked by uid 500); 27 May 2014 05:12:42 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 39421 invoked by uid 500); 27 May 2014 05:12:42 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 39407 invoked by uid 99); 27 May 2014 05:12:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 05:12:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of aharui@adobe.com) Received: from [207.46.163.144] (HELO na01-bn1-obe.outbound.protection.outlook.com) (207.46.163.144) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 05:12:38 +0000 Received: from BL2PR02MB500.namprd02.prod.outlook.com (10.141.95.147) by BL2PR02MB499.namprd02.prod.outlook.com (10.141.95.143) with Microsoft SMTP Server (TLS) id 15.0.949.11; Tue, 27 May 2014 05:12:13 +0000 Received: from BL2PR02MB500.namprd02.prod.outlook.com ([10.141.95.147]) by BL2PR02MB500.namprd02.prod.outlook.com ([10.141.95.147]) with mapi id 15.00.0949.001; Tue, 27 May 2014 05:12:13 +0000 From: Alex Harui To: "dev@flex.apache.org" , "commits@flex.apache.org" Subject: Re: git commit: [flex-sdk] [refs/heads/develop] - FLEX-34078 fix callouts closing when selecting dates in DateFields Thread-Topic: git commit: [flex-sdk] [refs/heads/develop] - FLEX-34078 fix callouts closing when selecting dates in DateFields Thread-Index: AQHPctHBeyugxhZHqE6aCKonvlNt6ptTeW0A Date: Tue, 27 May 2014 05:12:11 +0000 Message-ID: References: <03678cf42d824e3b86ac53e2c724a57f@git.apache.org> In-Reply-To: <03678cf42d824e3b86ac53e2c724a57f@git.apache.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.1.140326 x-originating-ip: [63.229.18.221] x-forefront-prvs: 02243C58C6 x-forefront-antispam-report: SFV:NSPM;SFS:(6009001)(428001)(164054003)(479174003)(377454003)(24454002)(199002)(189002)(51704005)(77982001)(83506001)(4396001)(21056001)(36756003)(15975445006)(74502001)(74662001)(81342001)(31966008)(81542001)(76482001)(46102001)(87936001)(77096999)(54356999)(64706001)(85852003)(83072002)(76176999)(50986999)(92566001)(92726001)(19580395003)(19580405001)(79102001)(83322001)(20776003)(99396002)(99286001)(101416001)(2656002)(86362001)(15202345003)(66066001)(80022001);DIR:OUT;SFP:;SCL:1;SRVR:BL2PR02MB499;H:BL2PR02MB500.namprd02.prod.outlook.com;FPR:;MLV:sfv;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (: adobe.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aharui@adobe.com; Content-Type: text/plain; charset="us-ascii" Content-ID: <7354DBC815344C489B1E0E15016EA362@namprd02.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: adobe.com X-Virus-Checked: Checked by ClamAV on apache.org This change broke Falcon, although Falcon is not reporting the failure correctly. And I'm sort of surprised it didn't break the SDK build because it introduces a dependency from spark.swc to mx.swc and mx.swc is not listed in the set of libraries used to build experimental.swc. It is also not a good idea to start dragging mx stuff into spark-only apps. Might affect mobile app sizes and might affect those with spark-only build setups. I'm not familiar with Callout, but in other components with drop downs, the drop down's owner property is set to the base component, then you check to see if the component "owns" the clicked item. Can similar logic be used here and eliminate the mx.swc dependency? Thanks, -Alex On 5/18/14 12:30 PM, "jmclean@apache.org" wrote: >Repository: flex-sdk >Updated Branches: > refs/heads/develop 3a087a60e -> 080f5e64d > > >FLEX-34078 fix callouts closing when selecting dates in DateFields > > >Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo >Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/080f5e64 >Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/080f5e64 >Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/080f5e64 > >Branch: refs/heads/develop >Commit: 080f5e64d5718d76c51ecf6b07552b8bfc1b112e >Parents: 3a087a6 >Author: Justin Mclean >Authored: Sun May 18 12:30:41 2014 -0700 >Committer: Justin Mclean >Committed: Sun May 18 12:30:41 2014 -0700 > >---------------------------------------------------------------------- > .../src/spark/components/supportClasses/DropDownController.as | 3 +++ > 1 file changed, 3 insertions(+) >---------------------------------------------------------------------- > > >http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/080f5e64/frameworks/p >rojects/spark/src/spark/components/supportClasses/DropDownController.as >---------------------------------------------------------------------- >diff --git=20 >a/frameworks/projects/spark/src/spark/components/supportClasses/DropDownCo >ntroller.as=20 >b/frameworks/projects/spark/src/spark/components/supportClasses/DropDownCo >ntroller.as >index e1ff2fd..3641111 100644 >---=20 >a/frameworks/projects/spark/src/spark/components/supportClasses/DropDownCo >ntroller.as >+++=20 >b/frameworks/projects/spark/src/spark/components/supportClasses/DropDownCo >ntroller.as >@@ -38,6 +38,7 @@ import mx.managers.ISystemManager; >=20 > import spark.components.DropDownList; > import spark.events.DropDownEvent; >+import mx.controls.CalendarLayout; >=20 > use namespace mx_internal; >=20 >@@ -613,6 +614,8 @@ public class DropDownController extends >EventDispatcher > var document:Object =3D (target as IUIComponent).document= ; > if (("hostComponent" in document) && >document.hostComponent is DropDownList) > return; >+ if (target.parent is CalendarLayout) >+ return; > } >=20 > if (hitAreaAdditions !=3D null) >