GNOME Bugzilla – Bug 761402
GtkRange doesn't reset in_drag flag correctly
Last modified: 2016-02-04 16:14:45 UTC
Created attachment 320181 [details] [review] Proposed patch See the commit message of the attached patch for details. This happens e.g. when entering the fine-tune mode via long-press in a GtkScale in the widget-factory, then releasing the mouse button, then pressing Shift.
Review of attachment 320181 [details] [review]: Looks good! Just a minor comment. ::: gtk/gtkrange.c @@ +2620,3 @@ priv->mouse_x = x; priv->mouse_y = y; + if (priv->grab_location == MOUSE_SLIDER) you might even unset in_drag invariably. If the gestures ended we're not going to be in a drag regardless of the position.
Pushed as 35cd0be46863b94eb7b1e0d214a1fbbca9187457 with the mentioned change. Thanks!