Community
Participate
Working Groups
Reproducible with Controls Demo. Start Controls Demo -> Table tab in IE8/9. CPU usage is bumped without any additional interventions. Reproducible too with List with scrollbars, expanded Combo...
Created attachment 194619 [details] quick workaround This seems to happen when a shell with shadows has a child with gradient but non-rounded border, so that it uses "%" instead of "px" to layout the background-shape. (Weird behavior from IE, but what else is new.) The solution would be to change GraphicsMixin to always use "px", but i see know that is a work for at least a day or two. The patch works around the problem for the only two widgets that i know to have it with the default theme, TableColumn and ScrollBar. The issue might still exist for some custom-themes. I also want to add that i have currently some issues with my system and IE seems very slow, but i cant tell if its RAP-related or not, so somebody else should test this patch in IE first.
Hm, there is some improvement, but still high CPU with Controls Demo. Select Table Tab, move mouse over the table to hover some items, click on the CTabFolder chevron to open the menu, move mouse back over the table. For 5-10 sec I have high CPU usage and UI is unresponsive.
Created attachment 194627 [details] improved workaround Using "px" instead of "%" for the vml-canvas-node helps with the menu. (Disabling shadows does NOT help in this case for some reason.)
Thanks for the fix. Applied second patch to CVS HEAD and triggered a rebuild for 1.4 M7. Tim, please create a separate bug for improving this quick fix if needed.
Still high CPU usage with Workbench Demo in IE9. Inside Eclipse internal browser the Workbech Demo is completely unresponsive. In external IE it is responsive, but with high CPU load. Just start the Workbech Demo and don't do anything. Tested with updated runtime.
More over, the fix broke the hover effect in List in IE... Reproducible with Controls Demo -> List Tab.
Created attachment 194713 [details] proposed fix This is not a workaround, but the real fix. Needs some polishing (formatting, adding tests), but should work. All shapes are now always rendered with absolute values, no more %. As a result there is a bit more layouting going on internally (as js now has to do what the browser did before), but it only affects a handful of widgets on resize (Scrollbar-thumb, table-header, list-items, perhaps more).
Created attachment 194716 [details] improved fix sovles some glitches in FF3.6
Applied patch (attachment 194716 [details]) to CVS HEAD
(In reply to comment #9) > Applied patch (attachment 194716 [details]) to CVS HEAD Marked as fixed.
I cleaned and refactored the commited changes in CVS HEAD. Also added/adjusted some tests. Also some minor optimizations.