Details
Description
This works with Qt applications using the XCB platform and for non-Qt applications.
To test:
- use any text editor (Qt Creator, kwrite, etc.)
- turn line wrapping off if necessary
- make a very long line
- hold Alt key down and use the mouse wheel or two-finger scrolling on a touchpad
Result:
nothing happens or vertical scrolling happens
Expected:
horizontal scrolling
The same application has the expected result if you launch it with -platform xcb.
The qev application reports the same thing for both backends, so I don't know where this should be implemented:
QKeyEvent(ShortcutOverride, Key_Alt, AltModifier) QKeyEvent(KeyPress, Key_Alt, AltModifier) QWheelEvent(Qt::NoScrollPhase, pixelDelta=QPoint(0,0), angleDelta=QPoint(-120,0))
Attachments
Issue Links
- duplicates
-
QTBUG-91556 WheelEvent: angleDelta not working with Alt modifier key
- Closed
- is duplicated by
-
QTBUG-118618 Horizontal scrolling with alt+scroll does not work on Wayland
- Closed
- relates to
-
QTBUG-75949 Support horizontal scrolling with Shift modifier key
- Reported