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

EventLoop does not quit properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.3.1
    • None
    • Mac mini (M1, 2020), macOS 12.4 (21F79)
      AppleClang 13.1.6.13160021
    • macOS
    • 401013b13f9b3585f227254a08c09364247c0ad1

    Description

      The EventLoop on macOS seems to get stuck depending on the mouse key used to open the QMenu of the Menu Bar.

      If it is opened via left-click, the application exists correctly.
      However, if the QMenu is activated via right-click the application gets stuck and never exists.

      Please see attached MWE, it does not create any actual window but just a green QSystemTrayIcon.

      Attachments

        1. CMakeLists.txt
          0.3 kB
        2. main.cpp
          0.6 kB

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              janmoeller Jan Möller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes