Repository navigation
use alt to focus the menu and and navigation - #53924
Conversation
There was a problem hiding this comment.
SteVen Batten (@sbatten) I like the way it works now, good job. I think I found one minor bug:
Alt-click to focus menu- navigate to
Terminaland executeClear Alt+click again
=> the menu does not have focus (but menmonics show up)
|
|
||
| private createSubmenu() { | ||
| if (!this.parentData.submenu) { | ||
| if (!this.parentData.submenu && this.builder) { |
There was a problem hiding this comment.
SteVen Batten (@sbatten) how can this happen that we react on click but have not been created?
There was a problem hiding this comment.
Benjamin Pasero (@bpasero) converting to runoncescheduler fixed the issue, reverted this change
except intentionally focusing elsewhere
|
Hi SteVen Batten (@sbatten) I'd like to test this, I just installed insiders build on Windows, but it doesn't seem to work out of the box. How can I enable it? Is insiders build new enough to have it? |
|
jakub-g (@jakub-g) this change affects the new custom menubar in insiders. |
Please try this out with toggle setting enabled and without. Lots of code churn here because my previous focused behavior was poorly defined. I don't know how much better the new implementation but the idea is to work like a state machine with the following guidelines. If you plan to change
MenubarState, update the focused menu and set the new state. If you are not modifying the state, you must handle the menu behavior yourself.