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 402542 - reduce the number of wakeups
reduce the number of wakeups
Status: RESOLVED OBSOLETE
Product: gnome-main-menu
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jim Krehl
GNOME main menu maintainers
Depends on:
Blocks: 356586
 
 
Reported: 2007-01-30 18:55 UTC by William Jon McCann
Modified: 2011-03-20 04:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2007-01-30 18:55:43 UTC
The applet wakes up a lot.  This is particularly bad when multiple users are logged in.  Every instance of the applet wakes up and consumes resources.

For example, there are a log of g_timeout functions used.

If you login two users and just run top in a terminal you'll see that the menu applet for both users wakes up and hits the cpu.
Comment 1 Federico Mena Quintero 2009-02-25 21:20:01 UTC
In the latest code, the only thing that could wake up repeatedly is hard-drive-status-tile.c.  It connects to the tile's "hide" signal, and disables the timeout in the callback for "hide".  However, the tile is never actually hidden --- it is the *toplevel* slab window that is hidden.

This should be easy to fix.  The tile can connect to "hide" on its toplevel window, or some out-of-band mechanism can be used to signal it directly from main-menu-ui.c.