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 354432 - Seahorse should be asleep when no user interaction
Seahorse should be asleep when no user interaction
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
git master
Other Linux
: Normal minor
: 1.0.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2006-09-05 12:42 UTC by Stef Walter
Modified: 2006-12-21 19:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stef Walter 2006-09-05 12:42:44 UTC
Currently seahorse wakes up to poll constantly. See:

$ strace -e poll seahorse

This is probably due to timeouts. We should find ways of keeping it asleep until some user interaction wakes it. This will save power for laptop users. The same applies to seahorse-daemon (although it may be harder to fix there).
Comment 1 Adam Schreiber 2006-09-15 19:08:29 UTC
Federico Mena-Quintero recently posted on p.g.o about finding places that were causing excess polling.  I'll append the link here for future debugging.

http://primates.ximian.com/~federico/news-2006-09.html#polling
Comment 2 Stef Walter 2006-12-21 19:29:32 UTC
Fixed.

2006-12-21  Nate Nielsen  <nielsen@memberwebs.com>

    * agent/seahorse-agent-cache.c:
    * agent/seahorse-agent-main.c:
    * daemon/seahorse-daemon.c:
    * libseahorse/Makefile.am:
    * libseahorse/seahorse-unix-signal.c:
    * libseahorse/seahorse-unix-signal.h: Stop copious polling in the background 
    Fixes bug #354432