MuseScore Renders text incorrectly on external monitor when scaling factor on external monitor is different

• Jul 16, 2019 - 03:02
Reported version
3.2
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
Yes
Workaround
Yes
Project

1 Have a laptop with an external monitor. In my case, display resolution is 1920x1080, but Scale and Layout is set to 125% on internal monitor but 100% on external monitor.

Note: Scale and Layout factor may be set differently on external monitor because the external monitor is larger and the text is large enough with 100% scaling. I am considering getting a 24" 4k external monitor but it is clear that MuseScore could not handle it because the scaling factor would have to be 175%.

RESULT: When the external monitor has a different scaling factor from the internal monitor, text editing is difficult because the text renders to a different size than cursor positioning. This means that the edits are made at a different cursor position than displayed on the screen. I reported this bug previously but had not noticed that it only occurs when scaling factors are different.

In this report I will submit a score and screenshots of how it renders on external monitor vs internal monitor. Saving to a PDF, it is determined that the layout on the internal monitor is accurate to print.

I am saying this is Major because people would want to use Musescore on their largest monitor, the one that doesn't work and on which they can't type. And, setting larger scaling factor for 4k monitor is a necessity.

Attachment Size
Let It Go piano+sax.mscz 61.66 KB
External Screen.PNG 196.23 KB
Internal Screen.PNG 1.51 MB

Comments

I assume you are referring to Musescore command line options documented here:
https://musescore.org/en/handbook/developers-handbook/getting-started/c…,
in which -D Enables a plugin script debugger. That doesn't seem applicable.

As to telling MuseScore the display resolution, I'm confused why that would be necessary. All other software known to me works fine on the second screen. Telling MuseScore details about the display would require informing it about all the parameters of every screen it may be dragged to.

Thank you. MuseScore has to be able to operate on a computer with multiple screens, each with its own resolution and scaling factor. It clearly knows the resolution of each monitor , but uses the scaling factor of the primary monitor for text rendering on other monitors.

That is extremely helpful. I did create a shortcut to "C:\Program Files\MuseScore 3\bin\MuseScore3.exe" -D96 ,

I thought this solved the problem, but was wrong.

If the primary screen is at 150 scaling and the other screen is at 100 scaling, everything is perfect and there are no bugs. BUT if the primary screen is at 125 scaling and the other screen is at 100 scaling, the text renders wrong on the second screen and cursor position is misaligned. Assuming I did the parameter correctly, it does not solve the problem. (Both screens are standard 1920 HD resolution)

I verified that I am doing the shortcut correctly because I get radically different scalings when I use -D72 vs using -D192

However, in all cases, if I have 125% on the main monitor and 100% scaling on the second monitor, the image on the second monitor renders text wrong and the cursor is misaligned..

Workaround No Yes

I found a partial workaround: If I make my external monitor (standard HD with 100% scaling) my Primary display before launching MuseScore, text is drawn in the right place on the page on the external monitor but incorrectly on the internal (standard HD with 125% scaling). So I can pick my monitor.

In reply to by David Bangs

Regression No Yes

Thank you! I really thought I was the only one with this display problem with the external monitor and after a long search (I am more often on the French forum) I finally find your description which is exactly mine. Different scale on the laptop (125%) and on the large secondary monitor (100%). Your workaround is fine. Personally I prefer, as soon as I work on MuseScore, to move the second monitor to 125% scale and so I no longer have this very annoying cursor problem.
Many thanks to you.
I would like to point out however that the problem does not exist with MuseScore 2.3.2 which supports without any problem the different scales between the 2 monitors.
It would therefore be a regression.