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

[REG 5.7.0->5.12.0] macOS: mouse move events button() method returns Qt::LeftButton

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.4
    • 5.12.0
    • Widgets: GraphicsView
    • None
    • macOS Mojave
    • macOS

    Description

      According to your documentation https://doc.qt.io/qt-5/qmouseevent.html#button, events with the type MouseMove, should return Qt::NoButton from their button() method, and it was the case at least in Qt5.7.0.   Yet right now, while using Qt5.12.0, button() for those type of events reports Qt::LeftButton on macOS (and only on macOS; Linux and Windows are fine).  Please see attached example project.

      Attachments

        Issue Links

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

          Activity

            People

              mikhailsvetkin Mikhail Svetkin
              dmytrosh Dmytro Shtepa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes