Return-Path: X-Original-To: apmail-pivot-dev-archive@www.apache.org Delivered-To: apmail-pivot-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 3F272974F for ; Mon, 16 Apr 2012 15:34:44 +0000 (UTC) Received: (qmail 21315 invoked by uid 500); 16 Apr 2012 15:34:44 -0000 Delivered-To: apmail-pivot-dev-archive@pivot.apache.org Received: (qmail 21289 invoked by uid 500); 16 Apr 2012 15:34:44 -0000 Mailing-List: contact dev-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pivot.apache.org Delivered-To: mailing list dev@pivot.apache.org Received: (qmail 21280 invoked by uid 99); 16 Apr 2012 15:34:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 15:34:44 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 15:34:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4CB83353EF8 for ; Mon, 16 Apr 2012 15:34:19 +0000 (UTC) Date: Mon, 16 Apr 2012 15:34:19 +0000 (UTC) From: "Sandro Martini (Updated) (JIRA)" To: dev@pivot.apache.org Message-ID: <1721953055.28865.1334590459334.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <24909520.132541292408041284.JavaMail.jira@thor> Subject: [jira] [Updated] (PIVOT-686) pivot applet doesn't gain focus on page load 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/PIVOT-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini updated PIVOT-686: --------------------------------- Fix Version/s: (was: 2.0.2) As a workaround, after opening the container (window, etc), force a requestFocus() , for example on Window, Frame, TextInput, etc ... > pivot applet doesn't gain focus on page load > -------------------------------------------- > > Key: PIVOT-686 > URL: https://issues.apache.org/jira/browse/PIVOT-686 > Project: Pivot > Issue Type: Bug > Affects Versions: 1.5.1 > Environment: Tested on Windows XP with Firefox 3.6.13 and 8.0.552.224 > Reporter: Felix > Assignee: Sandro Martini > Priority: Minor > Fix For: 2.1 > > Attachments: kitchen-sink_test.html, pivot686_test.html, pivot686_test_forceFocus_enabled.html > > > A pivot applet will never gain focus after a page load. You always have to click on the applet, before it accepts key events. It seems not to be a JDK issue. > I've created to examples which include textfield in the applet. One applet with pivot and one without. Only in the native applet the textfield gains the focus (works with Firefox and Chrome). The pivot never gains automaticly the focus without clicking the applet. > Applet Version (immediate focus works): > http://betrunken.de/media/appletFocusDemo/appletPlainDemo.html > > Pivot Version (immediate focus doesn't work): > http://betrunken.de/media/appletFocusDemo/pivotPlainDemo.html > > Try to start typing after reload. It works only for the applet version. > > You can download the source from: > http://betrunken.de/media/appletFocusDemo/demoApplet.jar > The discussion thread can be found at: > http://apache-pivot-users.399431.n3.nabble.com/request-focus-in-my-pivot-applet-on-page-load-td2085547.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira