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 646764 - Reimplement "delayed-apply" scales
Reimplement "delayed-apply" scales
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: Rui Matos
Control-Center Maintainers
3.10
: 675672 690061 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-04-05 00:58 UTC by Cosimo Cecchi
Modified: 2021-06-09 16:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cosimo Cecchi 2011-04-05 00:58:46 UTC
If you move the keyboard speed and delay sliders in the keyboard panel, you will notice a lot of hard disk activity.
I think that's because we're sending a ton of g_settings_set() calls directly from the slider changed signal, which cause dconf to update its on-disk database repeatedly for each call. The code should accumulate the GTK+ events in an idle or a timeout and batch a change to g_settings_set (or GtkRange itself should have itself a way of receiving batched changes, or maybe even dconf should do batching itself?); I wonder if this is a more general problem in other control center panels.
Comment 1 Bastien Nocera 2011-04-05 13:04:50 UTC
Quite a few of the scale widgets in the control-center used to use the "delayed-apply" from the scale, which meant that the actual "value" property wasn't changed until the mouse was released.

We could do with such a sub-class of the original GtkScale now that the functionality was removed from GTK+.
Comment 2 Bastien Nocera 2013-04-03 10:05:37 UTC
*** Bug 675672 has been marked as a duplicate of this bug. ***
Comment 3 Bastien Nocera 2013-04-23 12:37:15 UTC
Generalising the problem, we have the same problem in the mouse panel. Reimplementing a "delayed-apply" property would be the easiest to fix the problem.
Comment 4 Bastien Nocera 2013-04-23 12:37:55 UTC
*** Bug 690061 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2021-06-09 16:08:15 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new bug report at
  https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/

Thank you for your understanding and your help.