GNOME Bugzilla – Bug 72220
GtkHScale with digits == 0 : 'drag lag'
Last modified: 2004-12-22 21:47:04 UTC
Create a GtkHScale with digits = 0 (to give a non-float scale) drag the slider to the right and watch as the number above the slider 'lags' behind the slider. When the mouse button is released, the number moves to the correct location. Ordinarily this is not a problem, but looking at the boundary conditions (ie drag entirely to the left or right, then hold down the slider and move the slider one place right or left - it looks pretty silly. i.e. 1) Before 19 +-----------------------------------------------------------------------+ | +----+| | | || | +----+| +-----------------------------------------------------------------------+ 2) After (mouse button held down) 18 +-----------------------------------------------------------------------+ | +----+ | | | | | | +----+ | +-----------------------------------------------------------------------+ Confusing operation (ie looks like 18 is > 19).
You can set the update policy by using gtk_range_set_update_policy. Valid policies are: GTK_UPDATE_CONTINUOUS, GTK_UPDATE_DISCONTINUOUS, GTK_UPDATE_DELAYED I think you want GTK_UPDATE_CONTINUOUS.
This has nothing to do with update policy, see #61743 *** This bug has been marked as a duplicate of 61743 ***