Details
Description
Menu component is used for navigation in this application and always display on the page.
When navigate to some new content and clicking a button triggers the rendering of a large table
Then menu bar becomes very slow and it takes ~2 sec to display the submenus in IE
Firefox shows no symptom of the issue
If revisit the content by clicking the submenu option again which makes table go away, menu bar responsed normally
When navigate to some new content and clicking a button triggers the rendering of a large table
Then menu bar becomes very slow and it takes ~2 sec to display the submenus in IE
Firefox shows no symptom of the issue
If revisit the content by clicking the submenu option again which makes table go away, menu bar responsed normally
Activity
Sam Xiao
created issue -
Sam Xiao
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [50070000007yqHc] |
Ken Fyten
made changes -
Assignee Priority | P3 | |
Assignee | Arturo Zambrano [ artzambrano ] |
Ken Fyten
made changes -
Component/s | Components [ 10012 ] | |
Assignee Priority | P3 | |
Assignee | Arturo Zambrano [ artzambrano ] | Mircea Toma [ mircea.toma ] |
Arturo Zambrano
made changes -
Attachment | ice4106.war [ 11630 ] |
Werner Mueller
made changes -
Comment | [ also see blog: http://blog.creonfx.com/javascript/mootools-vs-jquery-vs-prototype-vs-yui-vs-dojo-comparison-revised ] |
Ken Fyten
made changes -
Environment | ANY | IE7 |
Fix Version/s | 1.8.2 [ 10190 ] | |
Assignee | Mircea Toma [ mircea.toma ] | Adnan Durrani [ adnan.durrani ] |
Ken Fyten
made changes -
Assignee Priority | P2 |
Ken Fyten
made changes -
Assignee | Adnan Durrani [ adnan.durrani ] | Yip Ng [ yip.ng ] |
Ken Fyten
made changes -
Assignee | Yip Ng [ yip.ng ] | Adnan Durrani [ adnan.durrani ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19116 | Fri Jul 24 10:37:22 MDT 2009 | adnan.durrani | Fix for |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/lib/extras/keyboardNavigator.js
MODIFY /icefaces/trunk/icefaces/bridge/component/menu.js |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Adnan Durrani
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Joanne Bai
made changes -
Attachment | IE6-menuBar.JPG [ 11918 ] |
Tyler Johnson
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19202 | Mon Aug 31 16:43:43 MDT 2009 | adnan.durrani | Fix related to Fix added specific to the IE |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/component/menu.js
|
Adnan Durrani
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8.2-RC1 [ 10210 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19255 | Tue Sep 15 13:27:28 MDT 2009 | adnan.durrani | Fix related to Specifically for horizontal menu. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/lib/extras/keyboardNavigator.js
|
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
The problem does not seem to be related to changing CSS classes. I compared their app to an app I created myself in which no additional style classes were specified and also the *:hover CSS classes were removed from our themes, and the problem was still there.
My hypothesis is that this could be related to selecting elements by id, since it's well know that selecting elements in IE is dramatically slower than in other browsers (see http://blog.creonfx.com/javascript/mootools-vs-jquery-vs-prototype-vs-yui-vs-dojo-comparison-revised). Since, in order to display a menu we have to make numerous calls to Prototype's selector "$()", which is basically an alias for document.selectElementById(), to hide all other visible menus that aren't selected and to display submenus, this could be a reason.
I guess IE has a very inefficient algorithm for document.selectElementById(). Maybe it simply iterates over all the ids in the page until it finds the desired element, instead of using a more efficient searching algorithm, or maybe it doesn't index the ids in a page at all, etc. Since, data tables can create a lot of elements with their own ids, this seems likely. I will test this with other components to see if they get slower too.