Kinetic scrolling in GtkScrolledWindow should be cancelled when setting its adjustment's value
Steps to reproduce
- Start scrolling a GtkScrolledWindow with a kinetic device (touchscreen, trackpad, etc)
gtk_adjustment_set_value()or similar on the GtkScrolledWindow's adjustment while the scroll gesture still has some momentum, i.e. while the overlay scrollbars are still visible
The child widget is scrolled to the requested position, then jumps and keeps on scrolling as the kinetic scroll kicks back in again.
The child widget is scrolled to the requested position, and stays there.
GTK+ 3.22.29 (Ubuntu package: 3.22.29-3ubuntu1)
A work around is to call
gtk_scrolled_window_set_kinetic_scrolling(false), then set the adjustement's value, then call