Re: Kinetic scrolling - why only for touchscreens?

2018-02-14 Thread Roman Lehnert
Hi,

from what i can see, evince as well as chrome use gtk 3:

-> % ldd /opt/google/chrome/chrome | grep gtk
libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
(0x7f3ea3bef000)

-> % ldd /usr/bin/evince | grep gtk
libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
(0x7efe063d8000)

And my gtk version is  3.22.26-2 (from debian testing).

I was wondering about comment here:
https://github.com/GNOME/gtk/blob/365707e4eb56097496de07e0e160d7a81f242854/gtk/gtkscrolledwindow.c#L619


Thanks for the hint. But it seems that the error resides somewhere else.
I'll take a look at the events comming from libinput.

Roman


Timm Bäder  schrieb am Mo., 12. Feb. 2018 um 18:46 Uhr:

> Hey,
>
> the documentation indeed states that kinetic scrolling only works for
> touchscreen devices, which is wrong since it should also work with
> touchpads. We will update the documentation accordingly.
>
> It works here on my touchpad, where exactly does it not work? You
> mentioned documents and websites, the latter can probably be accounted
> to the browser not (directly) using GTK+, what documents viewer do you
> mean? Can you try using something that definitely uses GTK+3, like
> evince? Or just anything that can open files and browse to /usr/bin?
>
> Regards,
> Timm
>
>
> On 12.02, Roman Lehnert wrote:
> > Hi,
> >
> > when reading the dev documentation for GtkScrolledWindow, i stumbled upon
> > the limitation of kinetic scrolling for touchscreen devices. However, i
> > could not find the actual reason for the limitation. Can anyone help me
> out
> > here?
> >
> > The background of my question is that i wanted to get rid of synaptics
> > touchpad driver, and move on towards libinput. I`m really missing the
> > kinetic scrolling. Long documents and websites are a pain without it. I
> > totally agreed with Peter Hutterer from libinput, when he says that this
> > does not belong into the input driver, but more into the compositor /
> > client.
> >
> > And with my XPS 13 (9370), kinetic scrolling works like a charm via the
> > touchscreen, but not via the touchpad. And thus i tried to search for the
> > reason and hope to get help here.
> >
> > Thanks
> >
> > Roman
>
> > ___
> > gtk-list mailing list
> > gtk-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/gtk-list
>
>
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: Kinetic scrolling - why only for touchscreens?

2018-02-13 Thread Hashem Nasarat
I wonder is there any way to get kinetic scrolling to work for my thinkpad
trackpoint scrolling?

On Mon, Feb 12, 2018 at 12:46 PM, Timm Bäder  wrote:

> Hey,
>
> the documentation indeed states that kinetic scrolling only works for
> touchscreen devices, which is wrong since it should also work with
> touchpads. We will update the documentation accordingly.
>
> It works here on my touchpad, where exactly does it not work? You
> mentioned documents and websites, the latter can probably be accounted
> to the browser not (directly) using GTK+, what documents viewer do you
> mean? Can you try using something that definitely uses GTK+3, like
> evince? Or just anything that can open files and browse to /usr/bin?
>
> Regards,
> Timm
>
>
> On 12.02, Roman Lehnert wrote:
> > Hi,
> >
> > when reading the dev documentation for GtkScrolledWindow, i stumbled upon
> > the limitation of kinetic scrolling for touchscreen devices. However, i
> > could not find the actual reason for the limitation. Can anyone help me
> out
> > here?
> >
> > The background of my question is that i wanted to get rid of synaptics
> > touchpad driver, and move on towards libinput. I`m really missing the
> > kinetic scrolling. Long documents and websites are a pain without it. I
> > totally agreed with Peter Hutterer from libinput, when he says that this
> > does not belong into the input driver, but more into the compositor /
> > client.
> >
> > And with my XPS 13 (9370), kinetic scrolling works like a charm via the
> > touchscreen, but not via the touchpad. And thus i tried to search for the
> > reason and hope to get help here.
> >
> > Thanks
> >
> > Roman
>
> > ___
> > gtk-list mailing list
> > gtk-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/gtk-list
>
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list
>
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: Kinetic scrolling - why only for touchscreens?

2018-02-12 Thread Timm Bäder
Hey,

the documentation indeed states that kinetic scrolling only works for
touchscreen devices, which is wrong since it should also work with
touchpads. We will update the documentation accordingly.

It works here on my touchpad, where exactly does it not work? You
mentioned documents and websites, the latter can probably be accounted
to the browser not (directly) using GTK+, what documents viewer do you
mean? Can you try using something that definitely uses GTK+3, like
evince? Or just anything that can open files and browse to /usr/bin?

Regards,
Timm


On 12.02, Roman Lehnert wrote:
> Hi,
> 
> when reading the dev documentation for GtkScrolledWindow, i stumbled upon
> the limitation of kinetic scrolling for touchscreen devices. However, i
> could not find the actual reason for the limitation. Can anyone help me out
> here?
> 
> The background of my question is that i wanted to get rid of synaptics
> touchpad driver, and move on towards libinput. I`m really missing the
> kinetic scrolling. Long documents and websites are a pain without it. I
> totally agreed with Peter Hutterer from libinput, when he says that this
> does not belong into the input driver, but more into the compositor /
> client.
> 
> And with my XPS 13 (9370), kinetic scrolling works like a charm via the
> touchscreen, but not via the touchpad. And thus i tried to search for the
> reason and hope to get help here.
> 
> Thanks
> 
> Roman

> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list

___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Kinetic scrolling - why only for touchscreens?

2018-02-12 Thread Roman Lehnert
Hi,

when reading the dev documentation for GtkScrolledWindow, i stumbled upon
the limitation of kinetic scrolling for touchscreen devices. However, i
could not find the actual reason for the limitation. Can anyone help me out
here?

The background of my question is that i wanted to get rid of synaptics
touchpad driver, and move on towards libinput. I`m really missing the
kinetic scrolling. Long documents and websites are a pain without it. I
totally agreed with Peter Hutterer from libinput, when he says that this
does not belong into the input driver, but more into the compositor /
client.

And with my XPS 13 (9370), kinetic scrolling works like a charm via the
touchscreen, but not via the touchpad. And thus i tried to search for the
reason and hope to get help here.

Thanks

Roman
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list