GNOME Bugzilla – Bug 164574
Gnome menu is slow when clicking for the first time
Last modified: 2015-03-24 13:00:49 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/5643 "Hello, The new gnome menu is slow to load compared to Warthy. The first time I click on menu it begins accesing the hd and after some seconds appears. This was faster on Warty as I said. It seems that almost all menus are loaded the first time. This is confusing for the user. I'm probably experiencing longer delays than other users because I'm running Ubuntu on a laptop (which has a slow HD). SnOp" Jeff already spoke about this with the first versions of the new xdg panel, it seems to be slow especially when you have a category change (ie: if I install the debian submenu here).
I think in previous releases the menu was loaded at startup, which meant a delay at startup. This must have been a part of the startup-optimization frenzy, as now the menu is loaded only on the first use.
Created attachment 36893 [details] [review] Patch Could people test this patch? It seems to be better here, but I have some difficulties to make the problem appear without the patch (probably because of the HD cache) so maybe this doesn't help a lot...
Created attachment 36898 [details] [review] Second approach Another approach. This might be better... or not. With this patch, please pay attention to submenus. Are they slow to appear or not?
Fixed in HEAD.
This fix seems to cause crasher issues on (at the very least) x86-64 and PPC using either the 2.11.3 tarball or current CVS. As seen on http://mail.gnome.org/archives/garnome-list/2005-June/msg00020.html, backing out this patch, fixes the issue.
A stack trace of the crash would be useful :-)
Please open a new bug with a stack trace
*** Bug 317472 has been marked as a duplicate of this bug. ***