VSCodeTriageBot / testissues

Clone of the vscode issue stream.
41 stars 23 forks source link

"Go Back" and "Go Forward" shortcuts are not intuitive for Linux #256

Open VSCodeTriageBot opened 2 years ago

VSCodeTriageBot commented 2 years ago

Sorry if this is the wrong way to go about it, but I just wanted to raise a discussion around shortcuts!

registry.registerWorkbenchAction(SyncActionDescriptor.from(NavigateForwardAction, { primary: 0, win: { primary: KeyMod.Alt | KeyCode.RightArrow }, mac: { primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.Minus }, linux: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.Minus } }), 'Go Forward');
registry.registerWorkbenchAction(SyncActionDescriptor.from(NavigateBackwardsAction, { primary: 0, win: { primary: KeyMod.Alt | KeyCode.LeftArrow }, mac: { primary: KeyMod.WinCtrl | KeyCode.Minus }, linux: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Minus } }), 'Go Back');

As a Linux user, I just find the choice of shortcut for back and forward a bit odd. 🤔 All, or at least most, desktop applications I've used that support back/forward use ALT + LEFT and ALT + RIGHT respectively.

Albeit, most of the ones I use shortcuts like that are my browser, and then desktop apps that are often Chromium applications, so a browser again pretty much.

Regardless, I'd imagine (but this is just an assumption) that most Linux desktop users would try ALT + LEFT to go back… not CTRL + SHIFT + -.

Ofc I'm sure anyone who has a problem with the current default can just change the keybinding, but I thought it was a worthwhile discussion to improve the out-of-the-box user experience.

Think the default shortcuts for Linux could be revised? Have any opinions on that?

There is a website that shows what shortcut keys are used for by application.

CTRL + ALT + - https://defkey.com/what-means/ctrl-alt-minus Visual Studio Code and Visual Studio are the only applications that do anything related to going backwards. Most others are related to window size or zoom.

ALT + ALT https://defkey.com/what-means/alt-left Varies between go back a page, start of the line, start of the file, etc. A notable number of applications go back a page, however.

If this doesn't change, could we at least get a comment here with where the current default shortcuts came from? ^-^'

VSCodeTriageBot commented 2 years ago

confidence for label keybindings: 0.8. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee bpasero: 0.6. does not meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label keybindings: 0.8. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee bpasero: 0.6. does not meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label keybindings: 0.8. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee bpasero: 0.6. does not meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label keybindings: 0.8. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee bpasero: 0.6. does not meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label keybindings: 0.8. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee bpasero: 0.6. does not meet threshold