On-screen Piano Keyboard not cleared when playing

• Mar 9, 2022 - 16:35
Reported version
3.6
Type
Development
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

I have the piano keyboard on the screen with my score. Let's say if I press the Rewind key to the beginning of the score. The first note/s on the score would be highlighted on the score and on the corresponding keys on-screen piano keyboard. If I now click on the Play button, the score starts to play but the highlighted key/s would stay highlighted even the playing passed the highlighted note/s. The same behavior if I start playing the score anywhere, let's say at any measure, on the score. Wherever the starting note is, the corresponding key on the on-screen piano stays highlighted for the entire score. If I click the mouse anywhere not on the score before start playing which will clear any highlighted notes and keys on the on-screen piano, the on-screen piano plays normally. If I have multiple notes in the position of the first note, there will be multiple-notes highlighted keys on the on-screen keyboard. This is annoying. I suggest that if the on-screen piano is activated, and if the Play button is clicked, the on-screen piano should be reset and cleared of all active keys.


Comments

I've had this type of behavior on my local build since about the time MuseScore 3.x development was locked down. MS4.0 won't have the OnScreenKeyboard until maybe 4.1 or later. By then , hopefully this can be something to be verified. Another option I think should be available to regular users is to have: save the keyboard state when stopping. To demonstrate, here's a local screen-cast:

OSKOptions.gif