Flickable's mouse wheel scrolling keeps going inertially (past the location I want to scroll to)

Bug #1556795 reported by Daniel van Vugt
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
Undecided
Unassigned
qtdeclarative-opensource-src (Ubuntu)
Confirmed
Undecided
Unassigned
qtmir (Ubuntu)
Invalid
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Using a mouse wheel in Unity 8 > System Settings > Background works for scrolling. But it keeps scrolling inertially even after I've stopped rolling the wheel.

[For touchpad scrolling problems please see bug 1556795 instead, although both bugs may be fixed together]

description: updated
description: updated
summary: - Mouse wheel scrolling keeps going inertially
+ Mouse wheel scrolling keeps going inertially (past the location I want
+ to scroll to)
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Mouse wheel scrolling keeps going inertially (past the location I want to scroll to)

Hmm, maybe the problem is just QtMir speeding up/amplifying mouse wheel events a bit too much:

src/platforms/mirserver/qteventfeeder.cpp:

            const QPoint angleDelta = QPoint(hDelta * 15, vDelta * 15);
            mQtWindowSystem->handleWheelEvent(timestamp.count(), angleDelta, modifiers);

which then makes for a high scrolling velocity that takes a while to finish.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looks like the problem may get worse (even higher speed) when Ubuntu Touch gets Mir 0.21 or later with this fix:

https://code.launchpad.net/~andreas-pokorny/mir/fix-1539009-proper-accumulation-of-batched-events/+merge/286697

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Nope, Mir 0.22 on the phone didn't change this bug.

In other news, it appears the excessive inertial scrolling is app-specific. In the dash it scrolls to the top/bottom instantly on the slightest wheel movement. In System Settings however (main panel), wheel scrolling is better behaved and doesn't scroll anywhere near as far. Possibly still a bit too fast though.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtmir (Ubuntu):
status: New → Confirmed
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Changed in unity8 (Ubuntu):
status: New → Confirmed
tags: added: unity8-desktop
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Erm, fixed for mouse wheels now (?!)

New issues with touchpad scrolling only, while I'll log separately.

Changed in canonical-devices-system-image:
status: New → Incomplete
Changed in qtmir (Ubuntu):
status: Confirmed → Incomplete
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Confirmed → Incomplete
Changed in unity8 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sorry, still happening badly in the Apps scope. And only sometimes in the Background settings.

But see also new bug 1605513

Changed in canonical-devices-system-image:
status: Incomplete → Confirmed
Changed in qtmir (Ubuntu):
status: Incomplete → Confirmed
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Incomplete → Confirmed
Changed in unity8 (Ubuntu):
status: Incomplete → Confirmed
summary: - Mouse wheel scrolling keeps going inertially (past the location I want
- to scroll to)
+ Flickable's mouse wheel scrolling keeps going inertially (past the
+ location I want to scroll to)
Changed in qtdeclarative-opensource-src (Ubuntu):
status: New → Confirmed
Changed in qtmir (Ubuntu):
status: Confirmed → Invalid
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Confirmed → Invalid
Changed in unity8 (Ubuntu):
status: Confirmed → Invalid
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.