[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:       David Cortesi <davecortesi () gmail ! com>
Date:       2016-09-25 15:37:41
Message-ID: CALyzANvhM6KatnbQKXKtQqjaH3WjPQm8XROibNEunqFRw_SLYg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


http://www.sheepsystems.com/developers_blog/TPT-show-menu.html



> I have this same issue with PyQt v5.6 on OSX 10.10 (Yosemite).  If I open
> my app using python on a command line, menus are not functional until I
> switch to another app and switch back.  But if I build an OSX app bundle
> (via pyqtdeploy), the menus work perfectly.
> 
> 
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.

http://stackoverflow.com/questions/29400317/pyqt-how-to-make-application-truly-active

That references this blog post,

http://www.sheepsystems.com/developers_blog/TPT-show-menu.html

The SO entry also references a blog post that is also referenced multiple
times in the PyInstaller issues,

http://dvitonis.net/blog/2015/01/07/menu-bar-not-visible-when-building-pyqt-app-bundle-pyinstaller-mac-osx-mavericks-yosemite/


Unfortunately this site is no longer accessible; you might inquire further
of Darius Vitonis at https://github.com/dvitonis


[Attachment #5 (text/html)]

<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-a \
ctive">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/me \
nu-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>



[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