pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Kołaczkowski (Updated) (JIRA) <j...@apache.org>
Subject [jira] [Updated] (PIVOT-782) java7 / applets : input fields not working
Date Sat, 04 Feb 2012 13:41:53 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Piotr Kołaczkowski updated PIVOT-782:
-------------------------------------

    Attachment: focus.patch

I debugged it under Chrome and found what is the problem. When you click outside of the applet
area, and then back, the REQUEST_GAINED event is *not* sent to the applet.
So you have to regain focus manually.
Adding requestFocus() on key press event does the trick.
Attaching a patch (just one single line).
                
> java7 / applets : input fields not working
> ------------------------------------------
>
>                 Key: PIVOT-782
>                 URL: https://issues.apache.org/jira/browse/PIVOT-782
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 2.0, 2.0.1
>         Environment: Ubuntu  (Linux 2.6.35-30) / java 7 (Oracle) - in Firefox 5 and Chrome
12
>            Reporter: laurent Gebus
>            Assignee: Sandro Martini
>             Fix For: 2.0.2
>
>         Attachments: focus.patch
>
>
> input fields in kitchen sink demo and also in Itunes demo are not taking any input

--
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

       

Mime
View raw message