You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run Roundcube with and without Contextmenu inside IE 10. Start the IE Profiler. If you switch to current view: Call tree, you will notice that with Contextmenu enabled, the total time for rendering the page view goes up by almost 100%.
Without Contextmenu:
With Contextmenu:
The code that is likely responsible for the delay:
if (window.rcmail) {
// init message list menu
if ($('#rcmContextMenu').length > 0) {
rcmail.addEventListener('listupdate', function(props) { rcm_contextmenu_update(); } );
rcmail.addEventListener('insertrow', function(props) { rcm_contextmenu_init(props.row.id); } ); // <--------- slow down
}
Note that I have 50 rows displayed in my mail view by default. So that function rcmail.addEventListener('insertrow'....) gets called 50 times. The more rows you display, the more noticeable the relative slowdown compared to running RC without contextmenu.
The text was updated successfully, but these errors were encountered:
I am working on a new version in the devel-v2 branch. This is much faster, you might be interested to try it (its only dev so far and requires Roundcube v1.0-rc or git-master).
Run Roundcube with and without Contextmenu inside IE 10. Start the IE Profiler. If you switch to current view: Call tree, you will notice that with Contextmenu enabled, the total time for rendering the page view goes up by almost 100%.
Without Contextmenu:
With Contextmenu:
The code that is likely responsible for the delay:
Note that I have 50 rows displayed in my mail view by default. So that function rcmail.addEventListener('insertrow'....) gets called 50 times. The more rows you display, the more noticeable the relative slowdown compared to running RC without contextmenu.
The text was updated successfully, but these errors were encountered: