Friday, June 29, 2012

Re: "..Something other than an int was returned.." warnings in DevMode



On Friday, June 29, 2012 11:46:47 AM UTC+2, Flori wrote:
Hey all,

I have absolutley no idea why this warning appears.. maybe someone of u can give me an answer or a hint in the correct direction:

[WARN] [pacadm] - Something other than an int was returned from JSNI method '@com.google.gwt.dom.client.DOMImplStandardBase$ClientRect::getLeft()': Rounding double (5.454545021057129) to int for int

DevMode is still working.. but these warnings are endless (they don't appear in the javascript console)! I'm using gxt 2.2.5 along with gwt 2.4 (same with gwt 2.5 RC1).

Most probably you've zoomed in or out of your page, so you end up with sub-pixel dimensions.
See http://code.google.com/p/google-web-toolkit/issues/detail?id=6130

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SNH6_AvRAGgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment