Nightly 2.0b2 Odd Page right margin has bad default value

• Feb 24, 2015 - 15:45
Type
Functional
Severity
S4 - Minor
Status
closed
Project

I am using Windows 8.1u1 64bit, with nightly 2.0 beta 2 custom build, git 201c75c. Windows "Location" is set to Canada, with an English US keyboard setting.

New scores are either created with the "Create New Score" button, or "Create New Score" from the Start Center. They are being created with proper paper size (letter) for my area of the world.

Problem: Odd Page margin right value (and the linked Even Page margin left) is always defaulting to 15.9mm, which I suspect should be 10mm. I'm wondering if troubleshooting this problem will show why my pages are also printing shifted to the right. For related discussion see http://musescore.org/en/node/41611


Comments

I see something strange also on my pc. Here are the locale data:
System Locale: en-us;English (United States)
Input Locale: it;Italian (Italy)
Time Zone: (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Windows 8.1
commit 201c75c
When I create a new score with the "Choose instrument" option, the paper size is (correctly) set to A4 and the right margin is set to 10.06mm, see attached image.
It seems that the right margin is compute with an hard-coded staff width of 19cm
(page width) - (left margin) - 19cm
Indeed, for Letter the page width is 215.90mm and
(215.90 - 10.00 -190.00)mm = 15.90mm

Attachment Size
page-size.png 51.43 KB

I hadn't really followed this, but since I know it is system-dependent, I thought I would confirm I too now get 10.00 margins left and right, odd and even pages, as I might have expected. This on Ubuntu 14.04, in US, with a default printer set to Letter.

Unfortunately, my printer driver does not actually allow me to print (I haven't yet figured out this CUPS business), so I can't easily test whether I get shift prints.

Does this fix also cover #46371: default page margins not applied on creation of new score? Seems the originally described problem is no longer reproducible because it was basically this issue.