Launchpad has imported 4 comments from the remote bug at
https://bugzilla.gnome.org/show_bug.cgi?id=769554.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2016-08-05T12:41:10+00:00 Andreas Pokorny wrote:

Created attachment 332799
Do not filter out small touchpad scroll motions

When scrolling with a touchpad the left-right direction seems to be
wrong, and it seems to be less smooth than with X11 or qt-mir clients.

This is probably because mir provides scroll motion in rotary ticks -
which are usually been translated as 15-times larger than touchpad
motion units. The attached patch resolves the problem.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1607680/comments/2

------------------------------------------------------------------------
On 2016-08-12T14:50:46+00:00 Fakey wrote:

Review of attachment 332799:

Looks OK, can we leave the -delta_y alone though?

::: gdk/mir/gdkmireventsource.c
@@ +198,3 @@
       event->scroll.direction = GDK_SCROLL_SMOOTH;
+      event->scroll.delta_x = delta_x;
+      event->scroll.delta_y = delta_y;

Yes, for me this fixes the horizontal smooth scrolling, but breaks the
vertical smooth scrolling. I guess there's some disparity between the
vertical scroll direction in Mir and GTK+? Can we undo the second change
here?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1607680/comments/3

------------------------------------------------------------------------
On 2016-08-12T15:31:08+00:00 Andreas Pokorny wrote:

(In reply to William Hua from comment #1)
> Review of attachment 332799 [details] [review]:
> 
> Looks OK, can we leave the -delta_y alone though?
> 
> ::: gdk/mir/gdkmireventsource.c
> @@ +198,3 @@
>        event->scroll.direction = GDK_SCROLL_SMOOTH;
> +      event->scroll.delta_x = delta_x;
> +      event->scroll.delta_y = delta_y;
> 
> Yes, for me this fixes the horizontal smooth scrolling, but breaks the
> vertical smooth scrolling. I guess there's some disparity between the
> vertical scroll direction in Mir and GTK+? Can we undo the second change
> here?

I do not know what direction is positive or negative. A user can
customize that via server side options.

We can keep it -delta_y. I just hope this will be in the end common
across toolktis.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1607680/comments/4

------------------------------------------------------------------------
On 2016-08-13T23:32:23+00:00 Andreas Pokorny wrote:

Created attachment 333250
[PATCH] Do not filter out small scroll event fractions

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1607680/comments/5


** Changed in: gtk
       Status: Unknown => Fix Released

** Changed in: gtk
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1607680

Title:
  High precision touchpad scrolling doesn't work in GTK-on-Mir

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/1607680/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to