sonic-pi
sonic-pi copied to clipboard
Save Code Shortcut not working (and others)
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?
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 -
&Livewould be focussable with Alt+L or Meta+L, another Meta+L press would focus&Languagemenu, 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
Metafocusses menubarKeypress(egl) 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?
☠ Alt+Shift+S does nothing
Workaround Combo - Alt (Meta), Right-Cursor, Space, Enter