简体   繁体   中英

Qt on Mac - When the main window is hidden the app stop responding to the actions from the dock menu icon's context menu

I am preparing my application for a Mac release. All is well except that when my main window is hidden (not minimized, hidden) the actions at the dock menu icon's context menu stop having any effect on my app.

The same context menu applied to a system tray icon has the desired effect. Is this a bug on Qt's Mac integration? Any workarounds?

I don't have a solution, but I can confirm that I have the exact same issue with Qt 4.7.1 using Cocoa. Overall, the dock menu implementation seems very shaky (dynamically altering the dock menu, for instance removing menu items, also cause problems).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM