Repository navigation
Conversation
When com.canonical.AppMenu.Registrar lost its name owner, windows that had exported their menu kept the in-window menu bar hidden, and Alt could not reveal it either. Show that menu bar again while the name is unowned, and hide it once the windows are registered with a new owner. Fixes electron#56066 Assisted-By: Grok 4.7
|
💖 Thanks for opening this pull request! 💖 Semantic PR titlesWe use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Commit signingThis repo enforces commit signatures for all incoming PRs. PR tipsThings that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
|
For more information on signing commits, see GitHub's documentation on Telling Git about your signing key. |
|
Release note looks good now. |
Description of Change
When
com.canonical.AppMenu.Registrarloses its name owner, a window that had exported its menu kept the in-window menu bar hidden, and Alt could not reveal it. The registrar now registers windows only while the name has an owner, and the window shows its own menu bar until a registrar owns the name again.ELECTRON_FORCE_WINDOW_MENU_BARstill keeps the menu in the window.Fixes #56066.
Assisted-By: Grok 4.7
This was not compiled here. Electron's build and a Linux session bus with a registrar were not available, and this path has no C++ unit-test target.
Checklist
npm testpassesRelease Notes
Notes: Fixed the window menu bar not being restored when the global menu registrar exits.