Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D6D095E8 for ; Tue, 31 Jan 2012 12:40:10 +0000 (UTC) Received: (qmail 35048 invoked by uid 500); 31 Jan 2012 12:40:10 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 34985 invoked by uid 500); 31 Jan 2012 12:40:09 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 34977 invoked by uid 99); 31 Jan 2012 12:40:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 12:40:09 +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 (athena.apache.org: domain of cbartlett.x@gmail.com designates 74.125.82.182 as permitted sender) Received: from [74.125.82.182] (HELO mail-we0-f182.google.com) (74.125.82.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 12:40:04 +0000 Received: by werm13 with SMTP id m13so3962260wer.13 for ; Tue, 31 Jan 2012 04:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ANC9vAGIhPz5A0+QR7WFt4q0FXcANu9vuN1Rx7z6x94=; b=ZosXTQ+qomciMk/hOgTnOCchiW1qVB/N11ENKt+jqX4Kjr/OdmfhBBMA07UA5QkLXp xt4fJttynx2MLEvM9kvUCV9mD6I3r7d9is40LQw0stWReEytlvQi4m994YfuqbH+ZHuv dT936Isph9iQQaAMk8mVGxOgc50PiGXqOhKNc= MIME-Version: 1.0 Received: by 10.216.133.82 with SMTP id p60mr841820wei.59.1328013583541; Tue, 31 Jan 2012 04:39:43 -0800 (PST) Received: by 10.223.157.68 with HTTP; Tue, 31 Jan 2012 04:39:43 -0800 (PST) Received: by 10.223.157.68 with HTTP; Tue, 31 Jan 2012 04:39:43 -0800 (PST) In-Reply-To: References: Date: Tue, 31 Jan 2012 12:39:43 +0000 Message-ID: Subject: Re: Keyboard events ignored in Google Chrome / Firefox on Ubuntu Linux From: Chris Bartlett To: user@pivot.apache.org Content-Type: multipart/alternative; boundary=0016e6dee825e7648304b7d24124 --0016e6dee825e7648304b7d24124 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This is a known issue that came up on the mailing list recently. I am not in a position to search the list archive at through moment, but there are relevant posts there with links to open JIRA issues. The thing we were missing was a minimal test case and examples of non Pivot applets that work as expected in all browsers. Hopefully we can now determine how much of the problem is due to Pivot and how much due to the OS, browser or JVM. On Jan 31, 2012 11:35 AM, "Mark Dodgson" wrote: > I have the same problem too with the demos, using Ubuntu and Chrome here. > > For example clicking on the address bar of chrome to loose focus then > clicking back on to an edit box I am unable to type anything in the edit > box. All buttons etc seem to work, just not keyboard entries. > > Regards, > > doddi > > On 31 January 2012 10:50, Piotr Ko=C5=82aczkowski wr= ote: > >> Hi, >> >> I encountered a strange bug. >> >> 1. When I run the applet in Firefox 9 in Windows, everything works fine. >> >> 2. When I run the exactly same applet in Firefox 9 installed in Ubuntu >> 11.10, it works fine until I click with the mouse somewhere outside of >> the applet area, e.g. in the browser's address bar. Then the applet >> loses focus and the applet stops receiving keyboard events. Pressing >> tab once or twice, so that the applet gets focused again or clicking >> on the applet, doesn't help. The keyboard events still go to >> /dev/null, although mouse is fine :D. The only thing that works is >> fully reloading the applet. >> >> 3. The same problem appears in the most recent Google Chrome. >> >> At first I thought there is something wrong with my Java so I >> reinstalled JDK. It didn't help. The problem exists either with Oracle >> 64 bit JDK 6 update 30 or 7 update 2. >> I checked some other applets on the web, and... they work perfectly. >> E.g. this one: http://www.brainjar.com/java/games/asteroids/. I can >> click on the address bar, then click back on the applet, and voila, I >> can still control the spaceship with the keyboard. >> >> The I checked Pivot demos and *I am able* to reproduce the problem >> with Pivot demos, e.g. the kitchen sink demo. So I came to the >> conclusion there must be something in Pivot that makes the focus / >> keyboard problem... >> Do you have any ideas what could it be and where to look in the code >> to debug it? >> >> Best regards, >> Piotr >> > > --0016e6dee825e7648304b7d24124 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

This is a known issue that came up on the mailing list recently.=C2=A0 I= am not in a position to search the list archive at through moment, but the= re are relevant posts there with links to open JIRA issues.

The thing we were missing was a minimal test case and examples of non Pi= vot applets that work as expected in all browsers. Hopefully we can now det= ermine how much of the problem is due to Pivot and how much due to the OS, = browser or JVM.

On Jan 31, 2012 11:35 AM, "Mark Dodgson&quo= t; <mark.dodgson@googlema= il.com> wrote:
On 31 January 2012 10:50, Piotr Ko=C5=82aczkowski <pko= laczk@gmail.com> wrote:
Hi,

I encountered a strange bug.

1. When I run the applet in Firefox 9 in Windows, everything works fine.
2. When I run the exactly same applet in Firefox 9 installed in Ubuntu
11.10, it works fine until I click with the mouse somewhere outside of
the applet area, e.g. in the browser's address bar. Then the applet
loses focus and the applet stops receiving keyboard events. Pressing
tab once or twice, so that the applet gets focused again or clicking
on the applet, doesn't help. The keyboard events still go to
/dev/null, although mouse is fine :D. The only thing that works is
fully reloading the applet.

3. The same problem appears in the most recent Google Chrome.

At first I thought there is something wrong with my Java so I
reinstalled JDK. It didn't help. The problem exists either with Oracle<= br> 64 bit JDK 6 update 30 or 7 update 2.
I checked some other applets on the web, and... they work perfectly.
E.g. this one: http://www.brainjar.com/java/games/asteroids/. I can click on the address bar, then click back on the applet, and voila, I
can still control the spaceship with the keyboard.

The I checked Pivot demos and *I am able* to reproduce the problem
with Pivot demos, e.g. the kitchen sink demo. So I came to the
conclusion there must be something in Pivot that makes the focus /
keyboard problem...
Do you have any ideas what could it be and where to look in the code
to debug it?

Best regards,
Piotr

--0016e6dee825e7648304b7d24124--