<div dir="ltr">This is python 3.5 from Anaconda (isolated in a conda env) with PyQt installed through pip.<div>By default a conda env doesn't come with pythonw but I guess I could symlink the file from the main conda install or just run 'conda install python.app' </div><div><br></div><div>I can check if that change's anything on Monday.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 24, 2016 at 2:23 PM, Naveen Michaud-Agrawal <span dir="ltr"><<a href="mailto:naveen.michaudagrawal@gmail.com" target="_blank">naveen.michaudagrawal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">What distribution of python are you running? Perhaps try "pythonw" to start the application.</p>
<p dir="ltr">Naveen Michaud-Agrawal </p>
<div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sep 24, 2016 1:41 PM, "Maxwell Grady" <<a href="mailto:max.grady@gmail.com" target="_blank">max.grady@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">(realized I didn't hit reply all)<div>To clarify, my code is not part of an app or app bundle and is just run from the command line. The minimal working example to reproduce the bug that I included is also run just from the command line and is not part of an app nor app bundle.</div><div><br></div><div>Simply invoking " python pyqt5-testmenubar.py" from the command line will run the code and show the bug.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 1:45 PM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de" target="_blank">apaku@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span><br>
On Thu, Sep 22, 2016 at 7:03 PM, Maxwell Grady <<a href="mailto:max.grady@gmail.com" target="_blank">max.grady@gmail.com</a>> wrote:<br>
> I have a PyQt5 v 5.7.0 app that is cross platform and functioning fine on<br>
> Windows 10 and Ubuntu 16.04 however on OS X there is a problem with the<br>
> menubar.<br>
><br>
> When the app is started on OS X, the menubar at the top of the screen<br>
> (native menubar location) appears but can not be clicked. Keyboard shortcuts<br>
> still work but clicking the menu has no result. If you switch focus to<br>
> another program (Cmd+Tab) and then switch focus back to the PyQt app<br>
> (Cmd+Tab) then the menu is clickable and functions as normal.<br>
<br>
</span>I don't think this is a PyQt issue or even Qt one, I suspect this is<br>
related to the app bundle you use for the application or lack of it. I<br>
see exactly the same issue with an Eclipse based application when<br>
starting it from inside Eclipse (which directly runs java with some<br>
commandline arguments). When launching the final build of the<br>
application through an app bundle everything is working fine.<br>
<br>
So I suspect that this is related to having an app bundle or some<br>
setting within the app bundle.<br>
<span><font color="#888888"><br>
Andreas<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="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>
<br></div></div>______________________________<wbr>_________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.riverbankcomputing<wbr>.com/mailman/listinfo/pyqt</a><br></blockquote></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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>