Hello,Are there any plans to support compilation to IE10 in GWT?
If there are such plans, when should it happen?
When you add support for IE10??
Not sure if this is the place to add this but just wanted to pass on my finding related to IE10 browser support.
I ran into an issue with GWT cellTables and cellTrees using IE 10. When hovering over a row we used hovering styling for that row which worked fine.
However, if we stayed hovering over the row and the cellTree
refreshed the hovering styling would disappear.
This was due to events like load and mouseover not firing for the cell widgets as it does with other browsers and lesser IE versions. I followed through the GWT code and found that since GWT cannot resolve the ie10 user.agent so the user.agent for ie6 is used.
I have verified this at many points in the code, but if you set a break point on line 36 in com.google.gwt.dom.client.DOMImplIE6 you will see first that this class is called and that isIE6Detected is set to true;
static boolean isIE6() {
if (!isIE6Detected) {
isIE6 = isIE6Impl();
isIE6Detected = true; <!-- Line 36
}
return isIE6;
}
I was thinking about the following two options, but am going to run them by more experienced members of our team.
Option #1
Since we are performing an upgrade to 2.5.1 now we could modify these 3 files to include an IE10 user agent and set it to fall back to IE8 as is IE9 currently in UserAgent.gwt.xml. They appear to be simple changes.
com.google.gwt.useragent.UserAgent.gwt.xml
com.google.gwt.useragent.rebind.UserAgentPropertyGenerator.java
com.google.gwt.user.DOM.gwt.xml
Option #2 (Admitted hack)
Since IE6 is no longer supported and IE10 is resolving to the IE6 user agent then this added to our Common.gwt.xml solves the problem and can be removed when a gwt support user agent IE10.
<replace-with class="com.google.gwt.dom.client.impl.DOMImplIE9">
<when-type-is class="com.google.gwt.dom.client.impl.DOMImpl"/>
<when-property-is name="user.agent" value="ie6"/>
</replace-with>
Why don't you use CSS for styling (like tr:hover) instead of relying on widgets firing events? IE10 handles them just like other browsers.