[okular] [Bug 384695] Configurable horizontal scrolling key (ALT or SHIFT) + WHEEL

Matt Whitlock bugzilla_noreply at kde.org
Mon Jun 19 19:11:02 BST 2023


https://bugs.kde.org/show_bug.cgi?id=384695

Matt Whitlock <kde at mattwhitlock.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at mattwhitlock.name

--- Comment #8 from Matt Whitlock <kde at mattwhitlock.name> ---
This behavior comes from Qt. Specifically, QXcbConnection transposes the native
wheel event's scroll deltas when populating the QWheelEvent's angleDelta if the
Alt modifier key is held. (Search
https://github.com/qt/qtbase/blob/dev/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
for "angleDelta.transposed()".) Then, much further down the line, QScrollView
reads the angleDelta from the QWheelEvent and fires appropriate signals to the
relevant scroll bar(s). So, any new configuration option would need to affect
which modifier key QXcbConnection tests for while translating the native wheel
events. In short, this is not the responsibility of KDE or of QScrollView but
rather of QXcbConnection, which lives in QtBase.

See this Qt bug: https://bugreports.qt.io/browse/QTBUG-75949

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list