Scrolling undone by first mouse-click in single-page view with documents side-by-side or stacked
S4 - Minor
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 184.108.40.206xxx Windows 8.1 64 Bit
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 I cannot reproduce, for me,… 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.
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 ALthough you can't upload an… 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.
P.S: It only happens when I do it in the LEFT side of the side-by side view.
And it also happens when "documents stacked" is active, with the upper side.
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.
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
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._
Automatically closed -- issue fixed for 2 weeks with no activity.
reopening as this seems needed for master too