Summary: | mousewheel left/right moves volume slider in counterintuitive direction. | ||
---|---|---|---|
Product: | [Applications] kmix | Reporter: | Oliver Henshaw <oliver.henshaw> |
Component: | general | Assignee: | Christian Esken <esken> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Oliver Henshaw
2010-02-27 17:27:02 UTC
Probably I cannot fix it at the moment. Qt doesn't seem to indicate the actual wheel in the QWheelEvent: http://doc.qt.nokia.com/latest/qwheelevent.html I've experimented a little with PyQt and it looks like QWheelEvent::orientation() does what you need. Does the slider act differently in RTL environments? If so I'd guess you have to check that too. I guess you are right. I have overlooked the QWheelEvent::orientation(). I'll submit a patch in a minute. SVN commit 1254110 by esken: BUGS: 228780 Reverse direction on horizontal QWheelEvents M +5 -2 kmixdockwidget.cpp M +1 -1 kmixdockwidget.h M +8 -3 ksmallslider.cpp M +6 -1 mdwslider.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1254110 I cannot test it myself due to lack of hardware (horizontal mouse wheel). But it really should work out of the box, so I have directly closed this bug. If I am wrong please reopen teh bug or feel free to contact my via personal email. |