-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
Menu 'role' of 'window' does not work #27645
Comments
gist copy of repro, for easier triage: https://gist.github.com/ckerr/5a614cd82d6236a7bae011d9035994f5 nb: |
I might have a related problem. When I'm starting the app in development mode I can cycle through the open windows by pressing This worked before and stopped working at some point. Also, I tried to modify the menu to add all kinds of roles to it. It did not solve the problem. |
This is still an issue, v16.0.7. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
"bump" |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
"bump" |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
"bump" |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
"bump" |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue. |
Preflight Checklist
Issue Details
Expected Behavior
When using a Menu
role
ofwindow
it should show a list of BrowserWindows exactly the same as when using arole
ofwindowMenu
. This screenshot shows it correctly working withwindowMenu
.Actual Behavior
When using a
role
ofwindow
, it simple displays a single submenu item labeledWindow
as seen in the picture below. You should instead see "Hello World!" listed 3 times.To Reproduce
A very simple commit provided on the electron-quick-start: nkavian/electron-quick-start@78a244b
The example creates 3 windows and the relevant menu entries to show it works in
windowMenu
("Window Menu 1") but broken withwindow
("Window Menu 2").$ git clone git@github.com:nkavian/electron-quick-start.git $ cd electron-quick-start $ git checkout window-menu-bug $ npm install $ npm start
The text was updated successfully, but these errors were encountered: