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 72220 - GtkHScale with digits == 0 : 'drag lag'
GtkHScale with digits == 0 : 'drag lag'
Status: RESOLVED DUPLICATE of bug 61743
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-02-22 08:39 UTC by Richard Kinder
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Richard Kinder 2002-02-22 08:39:11 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).
Comment 1 Anders Carlsson 2002-02-22 08:52:13 UTC
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.
Comment 2 Matthias Clasen 2002-02-22 14:23:05 UTC
This has nothing to do with update policy, see #61743

*** This bug has been marked as a duplicate of 61743 ***