This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
Menu should only be built once #3022
Labels
perf
polish
Nice to have — usually related to front-end/visual tasks.
QA/checked-Linux
QA/checked-macOS
Milestone
We currently build a menu from template multiple times.
We should instead only do this only once, the call to
Menu.buildFromTemplate
returns a menu object and we can use it to find items in the menu and update them as needed.The problem that happens is when a menu is regenerated and the menu is expanded, then clicks on menu items won't work. This happens especially around when the app starts if you try to quit the menu item click doesn't work.
The text was updated successfully, but these errors were encountered: