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

OSX: Crash when using application menu after closing a main window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.0 RC1
    • 5.0.1
    • GUI: Window management
    • None
    • OSX, 10.8.2
    • macOS
    • 27f68818c85dfe615df24cf1baa0087f9d863532

    Description

      When opening multiple QMainWindows and closing one, the app crashes when using the application menu.

      Testcase:
      start qtbase/examples/widgets/mainwindows/sdi/sdi.app
      open a second window
      close the newly opened window
      click on "sdi" in the menu bar
      ->crash

      This happens with every app using menu items, which get merged into the application menu (about, preferences, exit).
      It seems like closing a main window does cleanup its menu including merged items, but that the merged items are still referenced.

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            thomschm Thomas Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes