Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124807

Horizontal scrolling not working under Wayland with Alt+Wheel

    XMLWordPrintable

Details

    • Linux/Wayland
    • a1452b95f (dev), fa48d4915 (6.7), 531384dff (tqtc/lts-6.5), 38a20b8f9 (tqtc/lts-5.15), 2e80d859d (tqtc/lts-6.2)

    Description

      This works with Qt applications using the XCB platform and for non-Qt applications.

      To test:

      1. use any text editor (Qt Creator, kwrite, etc.)
      2. turn line wrapping off if necessary
      3. make a very long line
      4. 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

          For Gerrit Dashboard: QTBUG-124807
          # Subject Branch Project Status CR V

          Activity

            People

              inho Inho Lee
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes