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 399839 - Writes config file continuously when moving or resizing its window
Writes config file continuously when moving or resizing its window
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: General
2.14.x
Other Linux
: Normal normal
: Yelp 3.0
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-23 16:29 UTC by Sven Arvidsson
Modified: 2010-04-28 01:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Sven Arvidsson 2007-01-23 16:29:46 UTC
This bug was reported in the Debian BTS.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394831

"Yelp stores the width and height of its window in a configuration file.
However, instead of updating this file when closing the window, it
writes to the configuration file for every pixel that you resize or even
move the window. This causes a lot of useless CPU load and disk
activity."
Comment 1 Yves Perrenoud 2009-07-21 06:50:11 UTC
I've noticed this as well. It's so wrong, I can hear my disk thrashing with writes as I move or resize the window.

Just to be clear, the file is ~/.gnome2/yelp. The worst part is that the position of the window isn't even saved in that file (only the size), yet it's still saving continuously as you move the window.

It's been 2.5 years now since that bug was reported... please fix this, it's a pretty ugly bug and it reflects badly on the fit and finish of Gnome as a desktop overall.

I'm observing this in Gnome 2.26.3 with Yelp 2.26.0. You might want to update the affected version in the bug metadata to reflect that this still affects the latest stable released version of Gnome.
Comment 2 Shaun McCance 2010-04-28 01:49:35 UTC
Fixed on master. Yelp now stores geometry per-document, and it uses an idle function that automatically resets itself, so the settings are only written when you stop resizing.