[kate from frameworks git] Mouse wheeling the tabs in Kate does not switch between them. Reproducible: Always Steps to Reproduce: 1. Open multiple documents 2. Mousewheel the tab bar 3. Actual Results: Nothing happens Expected Results: It switches between tabs like any other tab bar.
Re-assigning to ktexteditor framework since it's KateViewInternal::wheelEvent(QWheelEvent *) which does it wrong, it just checks for delta() larger or smaller than zero causing the slightest finger movement to trigger a line-scroll. I looked into QAbstractScrollArea and the like code to find out how Qt internally handles it (especially with the Shift faster scroll), applications that do not override the scroll behavior like Konsole work fine but I did not find any clue there.
Git commit a9f1d69e21c431b120c39969b2e1dba47d595638 by Christoph Cullmann. Committed on 08/06/2015 at 19:21. Pushed by cullmann into branch 'master'. let QScrollBar handle the WheelEvents M +22 -115 src/view/kateviewinternal.cpp M +0 -10 src/view/kateviewinternal.h http://commits.kde.org/ktexteditor/a9f1d69e21c431b120c39969b2e1dba47d595638
Btw., that doesn't fix the tabbar issue at all ;=)
The tab bar thingy is a kate application bug.
Git commit 841be3ec8f55a933c991b2300eb2ef15e8b4c4a6 by Dominik Haumann. Committed on 08/10/2015 at 10:51. Pushed by dhaumann into branch 'master'. fix bug #340936: Can not mousewheel on tabbar to change tabs CHANGELOG: fix bug #340936: Can not mousewheel on tabbar to change tabs M +15 -0 kate/src/katetabbar.cpp M +3 -0 kate/src/katetabbar.h http://commits.kde.org/kate/841be3ec8f55a933c991b2300eb2ef15e8b4c4a6