Hi Thomas, thanks for your reply!

I copied/pasted the xml you gave into my gwt.xml file and the DevMode
was unable to find it. Here is the error:

"[ERROR] [myproject] Unable to find 'myproject.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?"

The xml you gave me was the only change that resulted in that error.
Any idea what I might be doing wrong? I put it inside of <module>
right at the end.

Many thanks :)

On Jan 17, 9:51 am, Thomas Broyer <[email protected]> wrote:
> On Jan 17, 2:34 am, Sky <[email protected]> wrote:
>
>
>
>
>
> > The following is a bug that only occurs in Chrome and therefore may be
> > a Chrome bug and not a GWT bug.
>
> > If I create a FocusPanel and place a TextBox inside it, it takes
> > several (more than 4) mouse clicks on the TextBox to give focus to the
> > TextBox so you can start typing. This problem does not exist in IE nor
> > FF.
>
> > This is easily reproducible. I created a new blank project and simply
> > put a TextBox inside a FocusPanel.
>
> > I want to find a workaround. If anyone can help me find one, that
> > would be great!
>
> > I currently do not know what is causing the problem, but I am curious
> > as to the existence of the <input type="text"> that is created as the
> > first inner child of all FocusPanel divs. I do not understand why that
> > is necessary. Any DIV can have the key events, mouse events and focus
> > events added to them, so why is that invisible input needed?
>
> > I am thinking of writing my own version of the FocusPanel, but I'm not
> > going to do that right away.
>
> It looks like issue 1471 which will be fixed in the upcoming GWT 2.0.1
> release:http://code.google.com/p/google-web-toolkit/issues/detail?id=1471
>
> The workaround for now (accesskeys won't work though, and the
> FocusPanel won't be focusable in Safari 3) is to add the following to
> your gwt.xml:
>    <replace-with name='com.google.gwt.user.client.ui.impl.FocusImpl'>
>       <when-type-is
> name='com.google.gwt.user.client.ui.impl.FocusImpl' />
>       <when-property-is name='user.agent' value='safari' />
>    </replace-with>
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to