Revamp (Activity) Pager wheel handling
ClosedPublic

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

Details

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.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
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.