Revamp (Activity) Pager wheel handling

Authored by hein on Jan 31 2017, 6:15 AM.

Description

Revamp (Activity) Pager wheel handling

Summary:
Fixes the mouse wheel not working to switch activities by
refactoring the code so currentPage() always behaves the
same and accounting for virt desktops starting at 1 only
where it actually counts, then fixing an off-by-one along
the way.
BUG:375769

Also introduces the wheel event handling logic used in
Task Manager and many other UIs to avoid reacting overly
sensitively to gesture scroll events from trackpads.

Reviewers: Plasma

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D4360

Details

Committed
heinFeb 1 2017, 10:47 AM
Differential Revision
D4360: Revamp (Activity) Pager wheel handling
Parents
R119:771e57f3b2c1: [Folder View] show script execution prompt when clicking item
Branches
Unknown
Tags
Unknown