1) Assign each shorcut to the appropriate widget
2) Change focus policy for all docked windows so that the scoretab doesn't loose focus
unless it's necessary. (except MuseScore Connect window)
For full understanding see this discussion thread:
http://dev-list.musescore.org/Keyboard-usability-and-accessibility-tt7578844.html
modified: mscore/accessibletoolbutton.cpp
modified: mscore/actions.cpp
modified: mscore/data/shortcuts.xml
modified: mscore/globals.h
modified: mscore/inspector/inspector.cpp
modified: mscore/musescore.cpp
modified: mscore/palettebox.cpp
modified: mscore/scoretab.cpp
modified: mscore/scoretab.h
modified: mscore/shortcut.cpp
modified: mscore/shortcut.h
modified: mscore/webpage.cpp
It is now treated as a KeyPressEvent in ScoreTab.cpp.
Now the widget that has focus will receive the event. Before, even
if a widget wanted to do something when return Key was pressed, it
was unable to do that, because shortcuts have priority over events.
modified: mscore/data/shortcuts.xml
modified: mscore/musescore.cpp
modified: mscore/scoretab.cpp
modified: mscore/scoretab.h
- The current default setup for shortcut keys has a conflict between the 'H' assigned to the hairpin and the 'H' assigned to the 8th fret in tablature letter mode.
- There are defined tablature note entry actions only up to the 9th fret.
Fixes:
According to the suggestions in forum post http://musescore.org/en/node/25244, this patch implements the following fixes:
- Default shortcut key for haipin are changed into the more language-independent keys '>' and '<'.
- Actions for fret 10th - 14th are added, so they appear in the shortcut preference dlg box.
- No key is defined for these new actions (for analogy, they should be mapped to 'L' to 'P'), to avoid occupying several more letter keys in the general setup (note that 'N' and 'P' are already taken): the interested user has a known and simple way to define his own, if he has the need.
The letter shortcut for the "fret-8" action was 'I' and this created a conflict with the "instruments" action.
It has been changed to 'J' as:
*) J is not used by TAB and is them free
*) there is no conflict with "enharmonic-up", as enharmony makes no sense in TAB's and its actions are disabled in TAB note entry.
(Background: TAB note entry has double shortcuts for fret marks: a letter series and a digit series. TAB's can use both letters and numbers and having both shortcuts makes user life MUCH simpler)
Ticks are always played for at least one full measure. If the playback starting point is not at the beginning of a measure or if the measure is shorter than nominal (anacrusis), also plays enough 'tick-tack' to fill the measure.
Count-in is turned on / off with a button in the play panel.