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

[wayland] drop event has wrong buttons()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.11.0 FF
    • QPA: Wayland
    • Linux/Wayland

      the QDropEvents return the wrong value for "buttons":

      • expected behaviour: state of the buttons after the drop event has been handled
      • current behaviour: state of the buttons before the drop event has been handled

      the expected behaviour is consistent across macos/win32/xcb.

      can be reproduced with this manual test:
      https://codereview.qt-project.org/c/qt/qtbase/+/681709

      from my initial reading of the code, the culprit is that it relies on QGuiApplication::mouseButtons()

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

            davidedmundson David Edmundson
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes