default page margins not applied on creation of new score
Steps to reproduce:
1. Create a new blank score, and add an instrument (let's do piano).
2. Add 200 measures to make the piece span at least two pages.
3. Look over the document... notice that the page margins appear to be the same for every page.
4. Go to "Layout" -> "Page Settings...". In my case, the default page size is "Letter", and the odd page margin left/right is "10.00mm" and "15.90mm". Those values are swapped for the even pages.
5. Without changing anything, click "Apply" or "OK.
Result: now the page margins are correctly applied to even pages.
Is there any deliberate reason that the even page margins aren't applied upon document creation? This seems like unexpected behavior.
I am using MuseScore nightly 791625f on Kubuntu 14.04 64-bit.
Comments
Probably related to #46376: default left/right page margins seem to be opposite of what they should be and due to the fact the the contructor for PageFormat initializes to A4 with 10mm margins either side on even and odd pages.
Can you re-check with current build? A fix was made that should hopefully address the default margins.
I just tested with the latest nightly (201c75c), and the bug is still present and identical to the initial report.
There was a fix after that revision that should fix the margin issue.
I'll test again after the next nightly is built.
I see 781c5b7 being available
It seems to be the same than #48731: Nightly 2.0b2 Odd Page right margin has bad default value. I put it on fixed. Reopen if necessary.
No Lasconic, I don't think this is the same bug. The OP's issue is that the margins on a new multi-page score are exactly the same on all pages (e.g. 10 on the left and 15.9 on the right) regardless of the odd/even page settings. This corrects simply by going to and exiting Page Settings.
Fixing bug #48731: Nightly 2.0b2 Odd Page right margin has bad default value simple masks this bug because the margins are now exactly the same for left/right. If these default margins ever change so they are different (e.g. to take into account a wider odd left margin for hole punching) then this bug would show itself again.
I fail to see the difference. Can you give me steps to reproduce the bug? how do you change the default odd left margin?
You can't duplicate the bug in the present build as it is _right now_ because now the margins are the same. This bug has never been dealt with but only masked so it can't show. As I said above, any future change to the margin defaults so they are different will show this bug again.
What about creating a template with different margins? I can't remember how to Save-as a template so I can't test this.
Saving as a template is just saving into the template folder. I don't think the bug affected scores created from templates, though - only from scratch.
In any case, I just tried it, and it works as expected. I created a tempaote with lopsided left & right margins, and they were honored correctly.
I kind of think this really *is* the same as the other bug that was fixed, just two side effects of the same root cause. But I haven't looked in detail.
In any case, it's not reproducible now for me, and won't have a chance of being reproducible until/unless the default margins ever change to be lopsided. So that's as good as fixed to me.
I can confirm that this bug appears to be fixed in the latest nightly (781c5b7)--whether or not there's still a flaw that's being masked as mentioned by schepers in comment #10.
Automatically closed -- issue fixed for 2 weeks with no activity.