[Differential] [Request, 53 lines] D4360: Revamp (Activity) Pager wheel handling
Eike Hein
noreply at phabricator.kde.org
Tue Jan 31 06:19:53 UTC 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170131/f3236edf/attachment-0001.html>
More information about the Plasma-devel
mailing list