GWT - Unexpected scrollbar appeared in GWT-DataGrid while using Canvas

207 views
Skip to first unread message

Joey Li

unread,
Aug 2, 2012, 6:13:30 PM8/2/12
to google-we...@googlegroups.com

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.


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!


Message has been deleted
Message has been deleted

Joey Li

unread,
Aug 16, 2012, 12:33:05 AM8/16/12
to google-we...@googlegroups.com
Any updates? 
Anyone encounter this as well?
Reply all
Reply to author
Forward
0 new messages