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

Cursor keys fail to set playback start point after toggling loop playback #23296

Open
MarcSabatella opened this issue Jun 19, 2024 · 0 comments
Labels
P2 Priority: Medium regression_ms3 Regression from MS3 (3.6.2) UX/interaction

Comments

@MarcSabatella
Copy link
Contributor

Issue type

UX/Interaction bug (incorrect behaviour)

Bug description

Normally, any change to the current selection will set the start point for the next playback. But, after toggling loop playback on and off, changing selection using the cursor keys fails to set a start point - it keeps continuing where it left off.

Steps to reproduce

  1. Open or create a score
  2. Select the first note of the second measure
  3. Press Space to start playback
  4. After playing a measure or so, press Space again to pause
  5. Press Left followed by Right, to re-select the originally-selected note
  6. Press Space again to start playback

Result: As expected, playback starts from the selected note. You can repeat those last two steps as often as you like, it works every time.

Now, with playback paused, toggle loop playback on and then off again. Then try to repeat the last two steps.

Result: Even though you are successfully reselecting the orginally-selected note, playback will not start from that location - it will continue from where you last paused. And no other keyboard navigation commands (eg, Ctrl+Right, Alt+Right, Alt+Down, Ctrl+Home) will function to set the start point, either. It is now "stuck" in this mode - you cannot (that I can see) get back to a place where cursor keys work to select the start point anymore. Except by closing and reopening the score

Workaround 1: clicking a note will still set the start point, but it won't make subsequent cursor key presses work.

Workaround 2: while no navigation commands will work to set the start point, the commands to create range selections will. So, Shift+Right followed by Shift+Left will produce the desired end result (allowing playback to restart at the originally-selected location). Well, almost - now it will play only the selected instrument. So you'd also need to hit Esc to play all staves.

Screenshots/Screen recordings

Screen.recording.2024-06-18.6.33.01.PM.webm

MuseScore Version

OS: Debian GNU/Linux 12 (bookworm), Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.2-241630832, revision: github-musescore-musescore-22b46f2

Regression

Yes, this used to work in MuseScore 3.x and now is broken

Operating system

Debian 12

Additional context

Broken in 4.2.1 as well, not sure if it ever worked in any other MU4 release but it definitely did in MU3.

I would note that implementing a "start playback from selection" command would eliminate the need for the specific hack used in the example: navigating right then left to re-select a note and force playback to start there again. So that's certainly something to consider too. But the current behavior would still be a bug, and a significant one from an accessibility standpoint, since it means it is all but impossible to discover how to select a playback start point by keyboard after having used loop playback.

@muse-bot muse-bot added regression_ms3 Regression from MS3 (3.6.2) UX/interaction labels Jun 19, 2024
@bkunda bkunda added the P2 Priority: Medium label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Priority: Medium regression_ms3 Regression from MS3 (3.6.2) UX/interaction
Projects
Status: One of the next releases
Development

No branches or pull requests

3 participants