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 734191 - Causes I/O for each arrow key press (last-char change)
Causes I/O for each arrow key press (last-char change)
Status: RESOLVED FIXED
Product: gucharmap
Classification: Core
Component: general
3.12.x
Other All
: Normal normal
: ---
Assigned To: gucharmap maintainers
gucharmap maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-03 06:04 UTC by Peter Moulder
Modified: 2014-09-07 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.88 KB, patch)
2014-08-03 06:04 UTC, Peter Moulder
accepted-commit_now Details | Review

Description Peter Moulder 2014-08-03 06:04:59 UTC
Created attachment 282359 [details] [review]
patch

Moving around the character table with arrow keys or PgUp/PgDown causes a disk write for each movement.

This causes needless hard drive activity (wear, battery use on laptops, annoying noise on spinning disks).

The attached patch fixes this, only writing to gsettings on exit.

I'm no gtk/glib expert; there might be a better way of implementing the "on exit" part.  But please please please apply the patch in some form or other.
Comment 1 Christian Persch 2014-08-16 18:15:21 UTC
Comment on attachment 282359 [details] [review]
patch

Thanks! Please commit to master.