After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321792 - Applications menu "lags" to refresh cache after installing new application
Applications menu "lags" to refresh cache after installing new application
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.13.x
Other Linux
: Normal enhancement
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-18 10:26 UTC by Sebastien Bacher
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Sebastien Bacher 2005-11-18 10:26:13 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."
Comment 1 Vincent Untz 2005-12-31 11:13:43 UTC
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.
Comment 2 Vincent Untz 2006-01-11 21:27:49 UTC
Oh, it's also because we do not cache the menu in the idle loop again. Stupid me :-)
Comment 3 Daniel Holbach 2006-12-22 16:19:34 UTC
Bug URL is nowadays: https://launchpad.net/distros/ubuntu/+source/gnome-panel/+bug/24669
Comment 4 Vincent Untz 2008-04-12 00:18:06 UTC
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.