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 0850B9330 for ; Tue, 31 Jan 2012 11:35:28 +0000 (UTC) Received: (qmail 60995 invoked by uid 500); 31 Jan 2012 11:35:27 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 60950 invoked by uid 500); 31 Jan 2012 11:35:26 -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 60942 invoked by uid 99); 31 Jan 2012 11:35:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 11:35:26 +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 mark.dodgson@googlemail.com designates 209.85.215.54 as permitted sender) Received: from [209.85.215.54] (HELO mail-lpp01m010-f54.google.com) (209.85.215.54) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 11:35:20 +0000 Received: by lagz14 with SMTP id z14so22108lag.13 for ; Tue, 31 Jan 2012 03:34:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pajPyn6rT7AQ3xVY8+B0aSWfVDOWI/7Jqav6P/ntbGY=; b=C2j218hEtU0UGB5faCSGoTSgPdS31wztxe/EjBHNTjXUAKyc/veeB5cjELeuuQSeLS wOwkS+XKQSvUCzOpFB0DYt6c9wt25MRV70D0NYgJn0ysXRjfAe79syxO317WyHGK59T7 v79wlu79VJU+Ipv2oBVa7DPKytKeEaII/J6hw= MIME-Version: 1.0 Received: by 10.152.145.165 with SMTP id sv5mr10820945lab.29.1328009699494; Tue, 31 Jan 2012 03:34:59 -0800 (PST) Received: by 10.152.129.194 with HTTP; Tue, 31 Jan 2012 03:34:59 -0800 (PST) In-Reply-To: References: Date: Tue, 31 Jan 2012 11:34:59 +0000 Message-ID: Subject: Re: Keyboard events ignored in Google Chrome / Firefox on Ubuntu Linux From: Mark Dodgson To: user@pivot.apache.org Content-Type: multipart/alternative; boundary=e89a8f234457658bbc04b7d15ab8 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f234457658bbc04b7d15ab8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 wrot= e: > 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 > --e89a8f234457658bbc04b7d15ab8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have the same problem too with the demos, using Ubuntu and Chrome here.
For example clicking on the address bar of chrome to loos= e focus then clicking back on to an edit box I am unable to type anything i= n 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 <pkolaczk@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

--e89a8f234457658bbc04b7d15ab8--