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

[Wayland] Modifiers not working in wheelEvent

    XMLWordPrintable

Details

    Description

      To reproduce with the attached test application:

       

      1. Run weston or kwin_wayland
      2. Run the app with --platform wayland
      3. Press one modifier key (Ctrl, Shift, Alt or Meta)
      4. Scroll with the mouse wheel

      In the wheelEvent() function, QWheelEvent::modifiers() doesn't report the modifiers being held, it just returns NoModifier.

       

      This feature works as expected with --platform xcb.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            elvisangelaccio Elvis Angelaccio
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes