I found a bug that there will be some unexpected scrollbars appeared in 
GWT-DataGrid when using Canvas in the same area. No matter what functions 
of Canvas I used, even if I just use Canvas to draw a line, it will cause 
problem. The scenario is hard to describe clearly. I will try my best. Hope 
you know what I am talking about.

In my app, when users click a button, the popup panel which contains a 
DataGrid will show up. Under the popup panel, in RootLayoutPanel, I have a 
Canvas which draws some graphs. If Canvas and the DataGrid appeared in the 
same area (they "interlace"), the bug will appear (some unexpected weird 
scroll bars show up). On the other hand, if they don't appear in the same 
area, or I just do not let the Canvas start drawing if they interlace, then 
no problem at all. For example, if I move the Canvas away from underneath 
of popup panel which contains DataGrid,so that they do not interlace, 
DataGrid will have no problem.

<https://lh6.googleusercontent.com/-iGvJGp6xwJ4/UBr57Jo37zI/AAAAAAAAAA0/Nu703lK85N8/s1600/bugs.png>

<https://lh4.googleusercontent.com/-oWfnet-rWW4/UBr5_NS9nFI/AAAAAAAAAA8/LBCV8s2fVWs/s1600/nobugs.png>


After some tires, I found out that this bug will occur in 
Chrome 20.0.1132.57m in both development mode and  deployment mode. No 
problem in IE9. I did not try other browsers.

I found someone have reported this bug in Google as well. And it is exactly 
what I encounter. But no one can answer why or provide some workaround. 
http://code.google.com/p/google-web-toolkit/issues/detail?id=7338

If you found the same problem, please click the link above and star the bug 
report, so that it can be fixed sooner. 

If you have any workaround. please let me know.  

Thanks!


-- 
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/-/r8b4vUQYqHQJ.
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