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

Application with no visible windows cannot be closed on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.14.1, 5.15.0 Alpha
    • 4.8.x, 5.4.0
    • QPA: Windows
    • None
    • Windows 7
    • 92cf38018afe8f598f2c337c0d202f3767b04ead (qt/qtbase/5.14)

      I have an application that starts minimized to tray. When running on Windows, this is true:

      1. Start the application
      2. Run taskkill /IM <myapp>.exe
      3. System tray icon dies (disappears on next hover)
      4. App is still running in task manager

      If I show the app main window, then hide it, app closes as expected.

      To see the symptoms, use the systray example and comment out window.show()

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

            kleint Friedemann Kleint
            xim Morten Neergaard
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes