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
For Gerrit Dashboard: QTBUG-124807 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
558446,3 | Make wheel operations compatible with xcb | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
558552,2 | Make wheel operations compatible with xcb | 6.7 | qt/qtwayland | Status: MERGED | +2 | 0 |
558566,3 | Make wheel operations compatible with xcb | tqtc/lts-6.5 | qt/tqtc-qtwayland | Status: MERGED | +2 | 0 |
560981,2 | Make wheel operations compatible with xcb | tqtc/lts-5.15 | qt/tqtc-qtwayland | Status: MERGED | +2 | 0 |
560982,2 | Make wheel operations compatible with xcb | tqtc/lts-6.2 | qt/tqtc-qtwayland | Status: MERGED | +2 | 0 |