[Touch-packages] [Bug 1607240] Re: Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since Xmir 2:1.18.4-1ubuntu4)

2016-07-28 Thread Daniel van Vugt
Found the solution!

System Settings > Mouse & Touchpad >
Slide the second (unlabelled) slider all the way left, and then one notch right.

Turns out that unlabelled slider is the wheel scroll speed. Setting it
one notch from the left correctly reduces the wheel speed from 7.0 to
1.0 as Mir clients expect.

** Also affects: ubuntu-system-settings (Ubuntu)
   Importance: Undecided
   Status: New

** Summary changed:

- Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since 
Xmir 2:1.18.4-1ubuntu4)
+ Unity8 default mouse wheel speed is 7.0 (it should be 1.0)

** Changed in: ubuntu-system-settings (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1607240

Title:
  Unity8 default mouse wheel speed is 7.0 (it should be 1.0)

Status in qtmir package in Ubuntu:
  Confirmed
Status in ubuntu-system-settings package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  Confirmed
Status in xorg-server package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 16.10 + proposed
  Xmir 2:1.18.4-1ubuntu4

  wheel mouse scrolling is too fast, tried with firefox and geany.

  run firefox on mir scroll up/down some random long page using the
  mouse wheel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1607240/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1607240] Re: Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since Xmir 2:1.18.4-1ubuntu4)

2016-07-28 Thread Daniel van Vugt
Test case:

env MIR_CLIENT_INPUT_RECEIVER_REPORT=log mir_demo_client_egltriangle --
--desktop_file_hint=unity8

And roll your mouse wheel over it.

Expected: vscroll values of +1/-1
Observed: vscroll values of +7/-7

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1607240

Title:
  Unity8 default mouse wheel speed is 7.0 (it should be 1.0)

Status in qtmir package in Ubuntu:
  Confirmed
Status in ubuntu-system-settings package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  Confirmed
Status in xorg-server package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 16.10 + proposed
  Xmir 2:1.18.4-1ubuntu4

  wheel mouse scrolling is too fast, tried with firefox and geany.

  run firefox on mir scroll up/down some random long page using the
  mouse wheel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1607240/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1607240] Re: Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since Xmir 2:1.18.4-1ubuntu4)

2016-07-28 Thread Daniel van Vugt
Confirmed the wheel vscroll value received by Xmir is exactly 7.0:
   vscroll = mir_pointer_event_axis_value(pev, mir_pointer_axis_vscroll);

So for each mouse wheel tick:
USC sends a vscroll value of +1/-1 to Unity8
Unity8 sends a vscroll value of +7/-7 to apps

In previous versions of Xmir, we would ignore the magnitude and convert
the 7 into 1. But now Xmir does proper smooth scrolling we need to
honour the magnitude. So a value of 7 from Unity8 now results in 7x more
scrolling.

The Xmir change is correct and we need to fix some Untiy8/Qt code
somewhere so that a mouse wheel tick is always vscroll=1.0.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1607240

Title:
  Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8
  (since Xmir 2:1.18.4-1ubuntu4)

Status in qtmir package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  Confirmed
Status in xorg-server package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 16.10 + proposed
  Xmir 2:1.18.4-1ubuntu4

  wheel mouse scrolling is too fast, tried with firefox and geany.

  run firefox on mir scroll up/down some random long page using the
  mouse wheel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1607240/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1607240] Re: Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since Xmir 2:1.18.4-1ubuntu4)

2016-07-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: unity8 (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1607240

Title:
  Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8
  (since Xmir 2:1.18.4-1ubuntu4)

Status in qtmir package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  Confirmed
Status in xorg-server package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 16.10 + proposed
  Xmir 2:1.18.4-1ubuntu4

  wheel mouse scrolling is too fast, tried with firefox and geany.

  run firefox on mir scroll up/down some random long page using the
  mouse wheel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1607240/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1607240] Re: Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since Xmir 2:1.18.4-1ubuntu4)

2016-07-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: qtmir (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1607240

Title:
  Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8
  (since Xmir 2:1.18.4-1ubuntu4)

Status in qtmir package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  Confirmed
Status in xorg-server package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 16.10 + proposed
  Xmir 2:1.18.4-1ubuntu4

  wheel mouse scrolling is too fast, tried with firefox and geany.

  run firefox on mir scroll up/down some random long page using the
  mouse wheel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1607240/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1607240] Re: [Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since Xmir 2:1.18.4-1ubuntu4)

2016-07-28 Thread Daniel van Vugt
Good news: Confirmed I can reproduce the bug.

Bad news: The bug only happens in Unity8 and not in Mir demo servers.

What changed:
Xmir 2:1.18.4-1ubuntu4 adds accurate vscroll/touchpad support. So instead of 
synthesising vscroll changes of any magnitude into fake button 4/5 
press/releases, it now passes the vscroll float value straight down to the app.

This works well in Mir demo servers (with high-resolution touchpads
too), but in Unity8 Xmir ends up sending about 7 button 4/5 events per
mouse wheel tick.

It appears the flaw is in Qt/Unity8 code where a vscroll value of 1.0
(which means one mouse wheel tick) is not correctly maintaining the
vscroll value of 1.0 after it passes through Unity8.

So the Xmir change is correct, but this is at least the third Unity8/Qt
scrolling bug I've seen today. See also bug 1607223 and bug 1605513.

** Also affects: unity8 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: xorg-server (Ubuntu)
   Status: New => Invalid

** Also affects: qtmir (Ubuntu)
   Importance: Undecided
   Status: New

** Summary changed:

- [Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 
(since Xmir 2:1.18.4-1ubuntu4)
+ Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since 
Xmir 2:1.18.4-1ubuntu4)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1607240

Title:
  Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8
  (since Xmir 2:1.18.4-1ubuntu4)

Status in qtmir package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  Confirmed
Status in xorg-server package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 16.10 + proposed
  Xmir 2:1.18.4-1ubuntu4

  wheel mouse scrolling is too fast, tried with firefox and geany.

  run firefox on mir scroll up/down some random long page using the
  mouse wheel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1607240/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp