Revamp (Activity) Pager wheel handling

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



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.

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.

Diff Detail

R119 Plasma Desktop
No Linters Available
No Unit Test Coverage
hein retitled this revision from to Revamp (Activity) Pager wheel handling.Jan 31 2017, 6:19 AM
hein updated this object.
hein edited the test plan for this revision. (Show Details)
hein added a reviewer: Plasma.
hein added a subscriber: plasma-devel.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 31 2017, 6:19 AM
mart accepted this revision.Feb 1 2017, 10:44 AM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Feb 1 2017, 10:44 AM
This revision was automatically updated to reflect the committed changes.