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

QEventLoop::ExcludeUserInputEvents causes losing of MouseReleaseEvent on Mac OS X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.6.0
    • Core: Event loop, QPA
    • None
    • Max OS X Yosemite, tested on Mac mini
    • macOS

      When QApplication::processEvents with flag QEventLoop::ExcludeUserInputEvents is used in a slot for selectionChanged signal for QTreeView the mouse release event is lost.
      In Qt 4.8.6 there was not such problem.
      The modified sample "dirview" is attached to the bug. To reproduce the bug simply click on any node of dir view and move mouse to other node - the selection will follow the cursor. But if you press mouse left button and wait for a pair of seconds everything will work correct.
      Reproduced only on Mac.

        1. dirview.zip
          3 kB
        2. qtbug53126.patch
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sorvig Morten Sørvig
            katagaeshi Eugene Kireev
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes