<div dir="ltr"><br><a href="http://www.sheepsystems.com/developers_blog/TPT-show-menu.html" target="_blank">http://www.sheepsystems.com/<wbr>developers_blog/TPT-show-menu.<wbr>html</a><br><div class="gmail_extra"><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I have this same issue with PyQt v5.6 on OSX 10.10 (Yosemite). If I open<br>
my app using python on a command line, menus are not functional until I<br>
switch to another app and switch back. But if I build an OSX app bundle<br>
(via pyqtdeploy), the menus work perfectly.<br><br></blockquote><div><br></div><div>A similar (probably identical) problem was fixed in PyInstaller a year ago. Their fix is probably not applicable here, but the following links may help.<br><br><a href="http://stackoverflow.com/questions/29400317/pyqt-how-to-make-application-truly-active">http://stackoverflow.com/questions/29400317/pyqt-how-to-make-application-truly-active</a><br><br></div><div>That references this blog post,<br><br><a href="http://www.sheepsystems.com/developers_blog/TPT-show-menu.html">http://www.sheepsystems.com/developers_blog/TPT-show-menu.html</a><br><br></div><div>The SO entry also references a blog post that is also referenced multiple times in the PyInstaller issues,<br><br><a href="http://dvitonis.net/blog/2015/01/07/menu-bar-not-visible-when-building-pyqt-app-bundle-pyinstaller-mac-osx-mavericks-yosemite/">http://dvitonis.net/blog/2015/01/07/menu-bar-not-visible-when-building-pyqt-app-bundle-pyinstaller-mac-osx-mavericks-yosemite/</a><br><br></div><div>Unfortunately this site is no longer accessible; you might inquire further of Darius Vitonis at <a href="https://github.com/dvitonis">https://github.com/dvitonis</a><br><br></div></div></div></div>