Lyrics mode: shift+left/right does not take effect until release of Shift

• Aug 8, 2019 - 17:20
Reported version
3.2
Priority
P1 - High
Type
Ergonomical (UX)
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

Win 7/10. MS 2,3,2

  1. Open any score with different kinds of text objects in it.
  2. Go into text edit mode on any text object and press Ctrl + A.
    Expected result: The text block is immediately highlighted.
    Actual result: The text is not highlighted until you release the keyboard keys.

A regression from MS 2.


Comments

Win 7/10. MS 3.2.3

This seems to affect all types of text objects except chord symbols. In addition, in lyrics, the Shift + left/right arrow shortcut does not select until the Shift key is released. Also in lyrics, Shift + Ctrl + left/right arrow does not select a syllable. Instead the cursor moves to the previous/next syllable. These shortcuts all worked in MS 2.3.2.

Title Text edit mode: Select All does not highlight text until keyboard keys are released Text edit mode: some selection shortcuts not working correctly

Again, though, I'd like to be clear: as far as I can tell this is at best a mild curiousity, not anything that affects use of MuseScore, correct? Or is there some use case I am missing where the distinction between activate-on-press vs activate-on-release actually matters?

Regarding Ctrl+Shift+right, for me the current behavior is correct. Ctrl+right by definition moves the cursor to the next "word", and in the case of lyrics, that's defined as the next actual lyric element. Seems like the bug that cause Ctrl+Shift+right not to move to the next syllable is fixed. Anyhow, the usual way to select the current syllable would be Ctrl+A, or Shift+End to select from the cursor position to the end of the current word.

Or is there some use case I am missing where the distinction between activate-on-press vs activate-on-release actually matters?

Activate-on-press is the preferred option because the selection updates immediately on the screen with every press of the L/R arrow key. Without this feedback the user has no visual reference point to tell him/her what they have selected before releasing the keys.

IMV, since [Ctrl] + [Shift] + [L/R arrow] is a standard text selection shortcut, it would be helpful to reserve its use—even in lyrics.

Title Text edit mode: some selection shortcuts not working correctly Lyrics mode: shift+left/right does not take effect until release of Shift
Priority P1 - High

Well, I see what you mean about repeated applications of Shift+left/right, except as far as I can tell that shortcut does work, everywhere except lyrics. For Ctrl+A it wasn't seeming particular important (that isn't something one does repeatedly). So, I've adjusted the title to be more specific about the one aspect of what has been raised here that actually does matter.

The thing about Ctrl+Shift+Right in lyrics is that yes, it is supposed to select, but it's not "select to end of current word", it's "select to start of next word", and that "next word" aspect means the cursor is supposed to be moved to the beginning of that next word - after any intervening space. So leaving the cursor on the current word is incorrect according to the usual standards. I could see breaking the usual standard and special-casing this, but it's very much a separate issue, and a Suggestion not a bug.

If you want to file a separate issue for Ctrl+A also feel free, but this seems much lower priority than getting Shift+Left/Right working in lyrics, and the fixes would likely be in different places, so it makes sense to track the issues separately.

Fix version
3.5.0