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 308657 - list of gnome panel applets doesnt get refreshed without restarting the panel
list of gnome panel applets doesnt get refreshed without restarting the panel
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-22 15:37 UTC by Mark McLoughlin
Modified: 2012-02-02 07:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Mark McLoughlin 2005-06-22 15:37:09 UTC
From Fedora:

  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159094

  list of gnome panel applets doesnt get refreshed without restarting the panel.

  Version-Release number of selected component (if applicable):
  gnome-panel-2.10.1-10

  How reproducible:
  always

  Steps to Reproduce:
  1. log in to a gnome session
  2. install additional panel plugins (such as the sensor plugin or netspeed
     applet from extras)
  3. right click the panel and choose "add to panel"
   
  Actual results:
  the list of panel applets doesent show the meanwhile installed ones

  Expected results:
  having an update on runtime (means without killing the panel)
Comment 1 Vincent Untz 2005-09-16 13:44:04 UTC
We're just doing a query for the applets. This sounds like it's not a problem on
our side...
Comment 2 Martin Olsson 2009-10-06 18:19:50 UTC
This bug has also been reported by Ubuntu karmic users:
https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/21625

Also, it's sufficient to log out / log in alternatively run "kill -HUP $(pidof gnome-panel)" to temporarily work around this issue.
Comment 3 Martin Olsson 2009-10-06 18:27:47 UTC
Vincent, which function is it that hits the disk in order to rebuild the list of installed applets? Is it panel_addto_query_applets()? I'm a bit confused by the CORBA stuff.

It sounds a lot to me that gnome-panel is caching this information without re-reading the disk every time. For example, could it be that the whole panel_addto_* dialog object is cached and then just presented again?

Remember that most users that hit this bug will have first went into "add applet" to see if there was timer applet (for example) installed by default. Then they don't find anything so they go "sudo apt-get install timer-applet" (or which applet they needed), and then they re-open the panel_add_* dialog.
Comment 4 Vincent Untz 2009-10-06 21:04:51 UTC
Martin: iirc, it's not cached in the panel, but in the bonobo server.
Comment 5 Marc Bejarano 2010-05-15 20:58:59 UTC
martin, vincent: were a developer likely to be incentivized to fix this, do you have a clue who that might be?
Comment 6 Marc Bejarano 2012-01-29 22:01:53 UTC
martin?
Comment 7 Martin Olsson 2012-01-30 18:23:27 UTC
@marc, Sorry, I don't know. From the git log of "master" it looks like Vincent is the most active developer (outside of translation update commits): http://git.gnome.org/browse/gnome-panel/log/

If vincent is busy, perhaps this bug could get one of those "gnome love" tags so new developers become aware of it?

PS. I hadn't checked if this bug still applies to GNOME 3.0 (I'm still on 2.x myself) although I suspect it does.
Comment 8 Vincent Untz 2012-02-02 07:41:59 UTC
This should work in GNOME 3 since we monitor the directories.