Weird event handler hosted-only bug?

1 view
Skip to first unread message

Reinier Zwitserloot

unread,
Jun 19, 2007, 7:08:04 PM6/19/07
to Google Web Toolkit Contributors
I don't even know what to report, but it has been reproduced in some
way or form on both windows and mac. Could anyone have a peek at this?

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/86a6ddb81f6e2af4

Joel Webber

unread,
Jun 22, 2007, 9:00:52 AM6/22/07
to Google-Web-Tool...@googlegroups.com, Miguel Méndez
Hmm... weird looking stuff. Are you seeing this with just any old PushButton? I haven't seen anything like this myself, but that doesn't mean it's not there under some circumstances.

Also, Miguel: The forum post mentions problems when upgrading Anthony LaForge's maps code to gwt 1.4. Have you guys seen any weird jsni errors here?

joel.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Web Toolkit Contributors" group.
To post to this group, send email to Google-Web-Toolkit-Contributors...@googlegroups.com
To unsubscribe from this group, send email to Google-Web-Toolkit-Contributor s-unsu...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit-Contributors?hl=en
-~----------~----~----~----~-- ----~----~------~--~---


 

Miguel Méndez

unread,
Jun 22, 2007, 9:09:44 AM6/22/07
to Joel Webber, sgr...@google.com, Google-Web-Tool...@googlegroups.com
[+sgross]

We did see some undefined method errors but I think that we were using an older maps version.  I added Sam to see if this jars his memory.
--
Miguel

Kelly Norton

unread,
Jun 22, 2007, 11:00:00 AM6/22/07
to Google-Web-Tool...@googlegroups.com, Joel Webber, sgr...@google.com
This looks to me like a small double bug in CustomButton and DOM.

Suspected bug #1.
CustomButton calls DOM.eventGetKeyCode(event) when the even is not a key type event. Leading to the next issue ...

Suspected bug #2.
DOM.eventGetKeyCode(event) should always return an int. Currently it returns either event.which or event.keyCode. If both are undefined, it will return undefined.

/kel

Joel Webber

unread,
Jun 22, 2007, 11:44:50 AM6/22/07
to Kelly Norton, Google-Web-Tool...@googlegroups.com, sgr...@google.com
Kelly, could you drop an RC2 issue in for this? It's easy to fix, and silly to leave around.
Thanks.
Reply all
Reply to author
Forward
0 new messages