-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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 contributions with alt command won't trigger #15395
Comments
This currently only works when menu items appear in the editor title, e.g when we render them. When showing them in the native context menu we cannot get the |
Instead of providing |
@jrieken I've finally gotten around to check this out -- and am loving the new behavior. Although I have noticed that intermittently the Also, it would be really awesome if this new behavior was supported across all the context menus, not just the editor one. |
Yeah, thanks for getting back on this. I reverted my changes and reopened this issue. It isn't as easy as I thought... The challenge is that as soon as the context menu opens we are blind and deaf, in particular we miss when the Unsure how to fix this without getting more support from electron. |
@jrieken Nooooo. ;) Damn, that sucks -- was really loving the behavior. This should still be opened though right? |
I know... the new year shouldn't start with such bad news ;-) |
Thanks to @isidorn this now works. We added a big global event that unsets the alt-state before a menu is showing. With that we can now populate any menu with alternative action when clicking alt before opening them. |
Version 1.8.0-insider (1.8.0-insider)
fb8939b10.12.1 (16B2555)
Steps to Reproduce:
alt
command to a menu, pressalt
while clicking the menualt
command never seems to trigger, just the maincommand
The text was updated successfully, but these errors were encountered: