Skip to content
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

Save Code Shortcut not working (and others) #3328

Open
jonnyhotchkiss opened this issue Sep 26, 2023 · 1 comment
Open

Save Code Shortcut not working (and others) #3328

jonnyhotchkiss opened this issue Sep 26, 2023 · 1 comment

Comments

@jonnyhotchkiss
Copy link

Expected behaviour: save dialog pops up, like when using menu
Observed behaviour: nothing
Others also affected, but these are the most useful.
on windows 10 lenovo, uk layout

S-M-s - Save contents of buffer to a file
S-M-o - Load contents of buffer from a file

anyone else with any issues?
anyway to debug?

@iamjonny
Copy link

In case further information helps, I'm trying to use SonicPi using a keyboard, where possible.
I'm not sure what the conventions are on other platforms, but Windows Menus are usually accessible via their Menu Names.

💡 The quickest solution I can think of that suits all is to provide users the ability to configure the menu names, or labels, so that

  • no change required for all users that want to keep existing behaviour that doesn't clash with the existing extensive kb-config (alt+l alt+i alt+v alt+c)
  • configurable menu names - &Live would be focussable with Alt+L or Meta+L, another Meta+L press would focus &Language menu, if similarly configured

💡💡 Another option could be to allow users the ability to remap shortcuts, so meta+ 1-7 could be dedicated to focussing menu 1-7 (currently meta+1 is mapped to "About Window")

💡💡💡 A happy compromise could be a two-press combo, eg

  1. Meta focusses menubar
  2. Keypress (eg l ) focusses first matching menu (perhaps also underscoring to highlight)

Does that make sense? (I don't know how to underline in Markdown!)

Finally (back to original issue!), does anyone else use the save function on windows, and does the shortcut work?

image

Alt+Shift+S does nothing

Workaround Combo - Alt (Meta), Right-Cursor, Space, Enter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants