gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.42k stars 292 forks source link

Kinetic scrolling is not working #1797

Open fin-ger opened 5 years ago

fin-ger commented 5 years ago

Kinetic scrolling is not working when scrolling a terminal window with a touchpad. The GtkScrolledWindow has perfect support for this. Having no kinetic scrolling for touchpad devices makes scrolling inside a terminal window very unergonomic and clumsy.

https://developer.gnome.org/gtk3/stable/GtkScrolledWindow.html#id-1.3.16.3.11.9

Touch Support GtkScrolledWindow has built-in support for touch devices. When a touchscreen is used, swiping will move the scrolled window, and will expose 'kinetic' behavior. This can be turned off with the “kinetic-scrolling” property if it is undesired.

Would be great if you could look into this.

I love this project, it has been my main terminal application for over a year now :purple_heart:

egmontkob commented 5 years ago

See https://gitlab.gnome.org/GNOME/vte/issues/183.

fin-ger commented 5 years ago

Ah thank your for the quick answer. So let's wait for vte to fix this :wink:

taoky commented 6 months ago

Tested with GTK inspector (GTK_DEBUG=interactive), For current tilix set enable-fallback-scrolling to FALSE could enable kinetic scrolling, and it seems that set scroll-unit-is-pixels to TRUE could make it more smooth.