Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-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 633CE11249 for ; Tue, 20 May 2014 14:08:38 +0000 (UTC) Received: (qmail 37433 invoked by uid 500); 20 May 2014 14:08:38 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 37407 invoked by uid 500); 20 May 2014 14:08:38 -0000 Mailing-List: contact issues-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 issues@flex.apache.org Received: (qmail 37399 invoked by uid 99); 20 May 2014 14:08:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 14:08:38 +0000 Date: Tue, 20 May 2014 14:08:38 +0000 (UTC) From: "Dominik Sotola (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-34325) setFocus and passing the focus on component button 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/FLEX-34325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominik Sotola updated FLEX-34325: ---------------------------------- Attachment: focusTest.mxml FLEX SDK 4.12.0 > setFocus and passing the focus on component button > -------------------------------------------------- > > Key: FLEX-34325 > URL: https://issues.apache.org/jira/browse/FLEX-34325 > Project: Apache Flex > Issue Type: Bug > Components: Focus Manager, Spark: Button > Affects Versions: Apache Flex 4.11.0, Apache Flex 4.12.0, Apache Flex 4.12.1 > Environment: Windows 7 64bit, Flash Player 11.6.602.168, Flash Player 13.0.0.182 > Reporter: Dominik Sotola > Attachments: focusTest.mxml > > > While migrating to new version of Flex SDK 4.12.0 (from version 4.6) I found a bug or at least an unfortunate feature. > When passing the focus on component button, the button's click event is dispatched. > Required application state: If user (with actual focus in "tiTwo" text input) press the Enter key, focus is then passed on component button. > After pushing Enter on text input, click event must not be dispatched on "button". > More info (with source code): > http://stackoverflow.com/questions/23753885/flex-4-12-0-setfocus -- This message was sent by Atlassian JIRA (v6.2#6252)