Scrolling undone by first mouse-click in single-page view with documents side-by-side or stacked

• Feb 8, 2021 - 18:34
Reported version
3.6
Type
Ergonomical (UX)
Frequency
Few
Severity
S4 - Minor
Reproducibility
Always
Status
active
Regression
Yes
Workaround
No
Project

Immediately after program start, open a several-page score-file which was stored as single page wiew. Then scroll down to any point and do the tirst mouse click into the score. The position jumps to top and towards side, and the previously done scrolling position is lost.
Version 3.6.1.5xxx Windows 8.1 64 Bit


Comments

Severity S3 - Major S4 - Minor
Status active needs info

I cannot reproduce, for me, for me clicking in a score simply selects what I clicked, whether the score was opened in single page or any other view. Can you attach the specific score you are having trouble with? Could be something else is going on. And/or create a screen capture video so we can see what you are doing, could be something different from what I am trying.

In reply to by Marc Sabatella

I made a screen video but cant upload mp4.
To reproduce: I use singe-page view and it has to be like this since program start.
I open a file before clicking anywhere else. If the score window is broader than the sheet, the effect is visible even without scrolling, Click anywhere into the sheet or around, the sheet jumps to the side. After scrolling, the scrolling is undone.
I dont know if relevant: my workspace has a second tabControl for second score panel which I can drag out from the right edge. See photo. (I believe it came since i tried "file compare" and since then it is there). Workspace is saved. The bug (and the second tabControl) happens in workspace "basic" as well as user-defined.

Attachment Size
P1020806.JPG 98.66 KB

ALthough you can't upload an mp4 here directly, you can post it elsewhere then include a link. Probably the split screen does have to do with it. BTW, to turn that off, see View / Documents Side by Side. But even if I enable it, I still can't reproduce, so there must be something else still. Check also your preferences in Edit / Preferences / Canvas, where it's set to limit to page borders, but that doesn't change anything for me either.

In reply to by Marc Sabatella

I turned off the "documents side-by-side" and the bug is no more. So it is specific to the side-by-side feature.
I always reproduce the bug as soon as side-by side is active and open a file immediately after progrm start.
I found more issures with the side-by-side which I will report.

Title Scrolling undone by first mouse-click in single-page view Scrolling undone by first mouse-click in single-page view with documents side-by-side or stacked

OK, I'm sure I didn't test that exact combination, then - I clicked the right side. And I didn't restart MuseScore after turning on the option. So indeed, under just right circumstances, this should be reproducible.

Frequency Once Few
Regression No Yes
Status active PR created

Specifically, the steps are these:
1. Enable "Documents side by side"
2. Open a score
3. In the focused ScoreView, the score is "centered", in the other one, it's just at the top left corner.
4. When clicking the non-focused ScoreView to make it focused, the score jumps to the "centered" position, regardless whether the user had already scrolled in that ScoreView.

The fix is here: https://github.com/musescore/MuseScore/pull/7616

Status PR created fixed

Fixed in branch 3.x, commit 3752d075d7

_Fix #317227, fix #317185: Disable centering score when opening score or switching LayoutMode

Centering the score was maybe esthetically a nice idea, but in practice, it turns out to be less ergonomic / efficient. Therefore, it's now disabled.
The way in which centering the score on opening was implemented also caused issue #317185._