GNOME Bugzilla – Bug 321792
Applications menu "lags" to refresh cache after installing new application
Last modified: 2015-03-24 13:00:56 UTC
This bug has been opened here: http://bugzilla.ubuntu.com/show_bug.cgi?id=18537 "When you install an application that has a desktop file to put a menu entry in the applications menu, it takes ~2 seconds for the menu to refresh it's icon cache. As a result, none of the icons are viewable and it looks like there is a problem with gnome-panel to a complete newbie."
So, what's most probably happening here is this: * new application is installed * new icon is installed * GTK+ detects this and emits the icon theme changed signal * we unmap all the icons so that we reload them when they're mapped What we should probably do is not unmap them so the users will at least still see the "old" icons before they are updated.
Oh, it's also because we do not cache the menu in the idle loop again. Stupid me :-)
Bug URL is nowadays: https://launchpad.net/distros/ubuntu/+source/gnome-panel/+bug/24669
I think it's fixed now. What is still slow is that icons have to be loaded again, but that's another bug that is known in bugzilla.