Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
4.6.1, 4.6.2, 4.6.3, 4.7.0, 4.7.2
-
None
-
Mac OS X
Description
Application crashes if system tray icon is hidden while its context menu is still opened.
A simple test ("TrayIconTest.zip") to reproduce the crash is attached. To reproduce do the following:
1) qmake && make && launch
2) Click on the icon
3) Select "Hide Tray Icon"
4) Quickly click on the tray icon again
5) Wait a second and click menu item agains
- Thread 0 Crashed:
- objc_msgSend
- [QNSImageView menuTrackingDone:]
- nsnote_callback
- CFXNotificationPost
- CFXNotificationPostNotification
- [NSNotificationCenter postNotificationName:object:userInfo:]
- [...]
- QCoreApplication::exec() + 297
- QApplication::exec() + 24
- main + 75 (main.cpp:12)
- _start + 208
- start + 40