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

[REG: 5.11.3 -> 5.12.0]: QWheelEvent::buttons() returns LeftButton, but the button is not pressed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.0, 5.12.1, 5.12.3
    • Fix Version/s: 5.12.4, 5.13.1, 5.14.0 Alpha
    • Component/s: QPA: Windows
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      8be17f1fd54c2923497af57b57fbe76a092a4f50 (qt/qtbase/5.12)

      Description

      If I click on the title bar of my window, move the mouse into the window and then use the mouse wheel, the mouse button is set for the mouse wheel event, although the button is not pressed.

      This happens with Windows 10, but not with macOS. 

        Attachments

        1. main.cpp
          0.5 kB
        2. qtbug75678.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            anrocha André De La Rocha
            Reporter:
            hilefoks Stefan Böhmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes