-
-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MacOS] Menu example does not show menus #1534
Comments
I haven't used custom menus myself, the growing main menu bug I encountered during running the tests for an unrelated change. Sounds like that whole reset menu logic there needs to be moved to the same location where the custom menu is applied. |
Yes, @mikeylemmon is correct that |
I pushed a fix to master. Please test. |
I just tested it out and menus are working, thanks for the fix! |
Specification
master
branch (5.3.2+ [commit f19a758])Description
Menus don't currently seem to be working on MacOS — running the menu example results only in a "View" menu (shown below) regardless of what is passed to the menu argument:
This behavior is the same when bundled with py2app.
A tiny bit of digging reveals that the issue can be fixed by commenting out the
self._clear_main_menu()
call that was added to cocoa.py'sfirst_show
method in #1407, but I'm guessing that removing the call also re-introduce the "ever-growing main menu bug". @lanzz were custom menus working when you first implemented your fix for the menu bug?Practicalities
YES I am willing to work on this issue myself.
NO I am not prepared to support this issue financially.
The text was updated successfully, but these errors were encountered: