Initial position of Continuous View is misplaced a bit
1. Switch to a continous view.
expected: screenshot2
actual: screenshot1
I think the staff has to be one pixel to the right and it will do.
Note: The problem doesn't occur if a staff has specified instrument's name.
Win7, abbf2c8
Comments
I'm guessing my recent change to set initial position just needs a slight tweak.
I looked at this and found while it's easy enough to change the initial position to not require the panel overlay, it will still shift and the panel will appear as soon as you begin entering notes. And given #32886: In Continuous View, the last visible measure is moved under the continuous panel, I'm not sure it even makes sense to try to avoid displaying the panel initially.
Anyhow, the fix is simple, but probably makes sense wait until if/when we do something about the other issue.
FWIW, here is a branch with the fix:
https://github.com/MarcSabatella/MuseScore/compare/41596-continuous-ini…
Again, I don't think it makes sense to do a PR yet as it actually doesn't help things at all - maybe even makes them a little worse - without some sort of solution for #32886: In Continuous View, the last visible measure is moved under the continuous panel.
Personally, my fix for this issue would be to simply change the zeros for 1s on lines 3730
and 3731 in ScoreView.cpp
It would become :
if (xo > 1)
xo = 1;
This would prevent the panel from showing up.
Should I do a PR with my fix or you want to try and add it to your PR, Marc?
I'll add it since I already have the branch going and want to see how they play together and if I can make it so note entry doesn't immediately cause the panel to appear.
Good call; that also fixes the problem where note entry immediately causes the panel to appear unnecessarily. This plus my change (which also improves things with respect to frames) help.
I ended up using an x offset of 10 rather than 1. I like the small visible margin to the left, to help make it more clear you are at the beginning of the score.
https://github.com/musescore/MuseScore/pull/1559
Fixed in 768b9f9b8f
Issue still present.
Shouldn't it be
if (x >0)
x = 10.0;
instead
if (x > 10.0)
x = 10.0;
?
(unless I get coordinates wrong)
Issue is still present in what form? I don't see it. Please post sample score and/or steps.to reproduce.
No additional info needed (just set to continous view in My_First_Score), but maybe I have to wait for next nightly. I'm esting on 0ae917e currently
That build is not recent enough. Apparently the Windows nightly server is having issues. But the issue really is fixed as far as I can tell in my tests.
Automatically closed -- issue fixed for 2 weeks with no activity.