musescore / musescore/MuseScore
Playback causes vertical centering of top staff in display, if start-playback measure is not in view. (Smooth Panning + Cont.Horizontal View)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
UX/Interaction bug (incorrect behaviour)
Bug description
In continuous horizontal view, with Smooth Panning enabled(!), if the current "start-playback" measure is horizontally out of the window (to left or right), when I click the Start Playback button, the view jumps to center the first staff vertically in the window, even if that means other staves are pushed out of view below the bottom of the window.
Steps to reproduce
Set score to continuous horizontal view. Enable smooth panning. Choose any measure to start playback, or just leave first-measure as the default. Scroll left or right so that the start-playback measure is out of view. Ensure that the top staff is not vertically centered (otherwise you won't see the jump). Click "play." The display will jump horizontally to the start playback measure (which is proper function), but also vertically to center the top staff in the display, even if there are multiple staves below that are pushed out of view.
Screenshots/Screen recordings
vertical jump in display.mp4.zip
vertical jump in display - sample score.zip
MuseScore Version
OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.1-241490900, revision: github-musescore-musescore-026c26b
Regression
I don't know
Operating system
Windows 11 Pro Version 23H2 build 22631.3672 Experience Windows Feature Experience Pack 1000.22700.1009.0
Additional context
Experienced the same issue in a previous version, back in April, probably 4.3.0.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the jump using the attached sample score with Continuous Horizontal View and Smooth Panning enabled. Start playback after scrolling the selected measure out of view, then inspect the Start Playback and panning behavior. Done means the view moves horizontally to the playback measure without vertically centering the top staff or pushing lower staves out of view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- design, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100