<div dir="ltr">I have a PyQt5 v 5.7.0 app that is cross platform and functioning fine on Windows 10 and Ubuntu 16.04 however on OS X there is a problem with the menubar.<div><br></div><div>When the app is started on OS X, the menubar at the top of the screen (native menubar location) appears but can not be clicked. Keyboard shortcuts still work but clicking the menu has no result. If you switch focus to another program (Cmd+Tab) and then switch focus back to the PyQt app (Cmd+Tab) then the menu is clickable and functions as normal.</div><div><br></div><div>Instead of linking you to my app I have provided a minimum working example:</div><div>A blank window (QWidget) with a menubar that has one menu and one item added to it.</div><div>The item simply triggers a method to print("Test ...") and is set to Cmd+t keyboard shortcut.</div><div><br></div><div>Upon launching the program you can see a File menu appears, you can press cmd+t and it triggers the method to print to sys.stdout, however you can not click on the File Menu.</div><div><br></div><div>If you click your desktop then click back to the app window then suddenly the File menu fucntions properly.</div><div><br></div><div>The code for the minimal working example is listed in a GithubGist here:</div><div><br></div><div><a href="https://gist.github.com/mgrady3/8168da3869869ec11a281103014300c8">https://gist.github.com/mgrady3/8168da3869869ec11a281103014300c8</a><br clear="all"><div><br></div><div>-Maxwell</div>-- <br><div class="gmail_signature"><div dir="ltr"><div>University of New Hampshire</div><div>Department of Physics</div><div>Pohl Group</div><div>DeMeritt Hall 119</div><div>---</div>Síocháin agus Grá</div></div>
</div></div>