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

EventLoop does not quit properly

    XMLWordPrintable

Details

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

    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. main.cpp
          0.6 kB
        2. CMakeLists.txt
          0.3 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: