[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] [Bug] PyQt5 version 5.7.0 OS X.11.4 (El Capitan) MenuBar requires defocus + refocus of ap
From: Naveen Michaud-Agrawal <naveen.michaudagrawal () gmail ! com>
Date: 2016-09-24 18:23:33
Message-ID: CANmJQmmXoMdurZdkR9oboHpqRwzezSArFHJmaHkkCXiRq9bW1w () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
What distribution of python are you running? Perhaps try "pythonw" to start
the application.
Naveen Michaud-Agrawal
On Sep 24, 2016 1:41 PM, "Maxwell Grady" <max.grady@gmail.com> wrote:
> (realized I didn't hit reply all)
> 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.
>
> Simply invoking " python pyqt5-testmenubar.py" from the command line will
> run the code and show the bug.
>
> On Thu, Sep 22, 2016 at 1:45 PM, Andreas Pakulat <apaku@gmx.de> wrote:
>
>> Hi,
>>
>> On Thu, Sep 22, 2016 at 7:03 PM, Maxwell Grady <max.grady@gmail.com>
>> wrote:
>> > 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 th=
e
>> > menubar.
>> >
>> > 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.
>>
>> I don't think this is a PyQt issue or even Qt one, I suspect this is
>> related to the app bundle you use for the application or lack of it. I
>> see exactly the same issue with an Eclipse based application when
>> starting it from inside Eclipse (which directly runs java with some
>> commandline arguments). When launching the final build of the
>> application through an app bundle everything is working fine.
>>
>> So I suspect that this is related to having an app bundle or some
>> setting within the app bundle.
>>
>> Andreas
>>
>
>
>
> --
> University of New Hampshire
> Department of Physics
> Pohl Group
> DeMeritt Hall 119
> ---
> S=C3=ADoch=C3=A1in agus Gr=C3=A1
>
> _______________________________________________
> PyQt mailing list PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
[Attachment #5 (text/html)]
<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">On Sep 24, 2016 1:41 PM, \
"Maxwell Grady" <<a \
href="mailto:max.grady@gmail.com">max.grady@gmail.com</a>> wrote:<br \
type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><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>______________________________<wbr>_________________<br>
PyQt mailing list <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" \
target="_blank">https://www.<wbr>riverbankcomputing.com/<wbr>mailman/listinfo/pyqt</a><br></blockquote></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic