Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.1
-
None
-
OSX, 10.8.2
-
-
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
For Gerrit Dashboard: QTBUG-30451 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
56196,2 | Cocoa: Make sure main window gets focus after closing modal dialog | stable | qt/qtbase | Status: MERGED | +2 | 0 |