hein created this revision. hein added a reviewer: Plasma. hein added a subscriber: plasma-devel. Restricted Application added a project: Plasma.
REVISION 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. REPOSITORY R119 Plasma Desktop BRANCH Plasma/5.8 REVISION DETAIL https://phabricator.kde.org/D4360 AFFECTED FILES applets/pager/package/contents/ui/main.qml applets/pager/plugin/pagermodel.cpp applets/pager/plugin/pagermodel.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: hein, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas