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 3EF16F82C for ; Fri, 12 Apr 2013 21:09:26 +0000 (UTC) Received: (qmail 18522 invoked by uid 500); 12 Apr 2013 21:09:25 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 18495 invoked by uid 500); 12 Apr 2013 21:09:25 -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 18487 invoked by uid 99); 12 Apr 2013 21:09:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 21:09:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kesslerconsulting@gmail.com designates 74.125.82.65 as permitted sender) Received: from [74.125.82.65] (HELO mail-wg0-f65.google.com) (74.125.82.65) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 21:09:18 +0000 Received: by mail-wg0-f65.google.com with SMTP id b12so147566wgh.8 for ; Fri, 12 Apr 2013 14:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=ZgIaMHgO8i9otPOA+yUTMF8wTpwgyct91OU5HO2pOwo=; b=YxN+He2PoLSpu3Yez3e97TI/sC7S2kGjQVOdRWi6YLCOM/5u7tpdPWR/3BcSRcap03 vCCY6IqGBEsP82Ks7xZ8yGX8W5QjOw8Ut+xZaSBrVV1NYIfSF62vH9f2nEqqqVEfdjFO ysHNpYYfWusjImJCUgri304hTPbpAoVCvHcn3k2NcBEXxfIgDTOoD8leR7qCs0mhJdgl 8c6zSWUiGNspFGyWuw7mZVPIb91UdBtuy9FLuRYvjJlsKZy80yG37XD2Bw+wn+C8JJyJ 1S1f+nYARmt5Z3dYC9aj8hkZbQ82gcrkf7dm7XQPb9pknfOLGBYs1bwOkqApuVgkRVn+ EE9A== MIME-Version: 1.0 X-Received: by 10.194.235.196 with SMTP id uo4mr20050959wjc.30.1365800938473; Fri, 12 Apr 2013 14:08:58 -0700 (PDT) Received: by 10.194.135.141 with HTTP; Fri, 12 Apr 2013 14:08:58 -0700 (PDT) Date: Fri, 12 Apr 2013 17:08:58 -0400 Message-ID: Subject: [FLEX-33487] Double-click does not trigger DataGrid item editor session if doubleClickEnabled is true From: Mark Kessler To: dev@flex.apache.org Content-Type: multipart/alternative; boundary=089e01419d7cc58d5c04da304ff0 X-Virus-Checked: Checked by ClamAV on apache.org --089e01419d7cc58d5c04da304ff0 Content-Type: text/plain; charset=ISO-8859-1 It looks like Carol put in a feature that is also the a fix for this issue "editorActivationMouseEvent". I've checked the default behavior. // If double click is not enabled or we want a double click to open an // editor, then open the editor directly now. Otherwise start a timer // and wait to see if a double click comes in that will cancel the edit. if (dataGrid.editOnDoubleClick || InteractiveObject(lastItemDown).doubleClickEnabled == false) { // we don't need to wait on the time since editing double click is ok. dataGrid.startItemEditorSession(rowIndex, columnIndex); } else { doubleClickTimer = new Timer(dataGrid.doubleClickTime, 1); doubleClickTimer.addEventListener(TimerEvent.TIMER, doubleClickTimerHandler); doubleClickTimer.start(); } There is also a private variable that can support doubleclick to enable editing. Do we want to keep the default behavior as it is, since this "editorActivationMouseEvent" gives you ability to make it work the way you want, or should we also enable the doubleclick variable? mx_internal var editOnDoubleClick:Boolean = false; I'm inclined to leave it at this time since there is a new feature for it and close the ticket. Any objections? -Mark --089e01419d7cc58d5c04da304ff0--