default page margins not applied on creation of new score

• Feb 4, 2015 - 04:31
Type
Functional
Severity
S4 - Minor
Status
closed
Project

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

Status (old) duplicate active

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.

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.