MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

[MU4 Issue] Problem with score rendering (possibly related to scaling on high DPI display?)

Open mike-spa opened this issue 3 years ago • 7 comments

Describe the bug From time to time, this is how the score is rendered on my screen (I hope the screenshot is high res enough to see the problem): image I'm working on a Windows desktop PC with a single 4k monitor.

To Reproduce The weird thing is that I don't always get this problem. It seems to get worse and worse during the day, as I close and reopen Musescore many times.

Platform information

  • Windows desktop on a single 4k monitor

Additional context The problem started quite recently.

mike-spa avatar Aug 24 '22 13:08 mike-spa

Is it possible that it started after #12591? Or more recently?

cbjeukendrup avatar Aug 24 '22 13:08 cbjeukendrup

Is it possible that it started after #12591? Or more recently?

Yep, very likely it started there.

mike-spa avatar Aug 24 '22 13:08 mike-spa

In fact I can confirm that setting setSmooth(true) in quickpaintedview.cpp fixes the issue, though obviously it brings back the "blurriness" that the PR wanted to address in the first place.

mike-spa avatar Sep 01 '22 07:09 mike-spa

I didn't face this problem on my Windows 10, but I don't have a 4K monitor (only 2K display)

@jessjwilliamson Can you check this issue on your 4K display please?

DmitryArefiev avatar Sep 05 '22 10:09 DmitryArefiev

FWIW, I saw this yesterday on my Linux laptop with a pretty ordinary display. It only happened with the zoom set to 129%, which is the exact I need to get the score to display "life size" after also setting QT_SCALE_FACTOR to 1.33 to get the UI to display at the correct size as well. So multiple levels of scaling going on. And it only appeared for one portion of one system, and disappeared upon scrolling slightly. But was reproducible yesterday any time I pressed "Home" to reposition the score. Today, same conditions, it doesn't happen.

MarcSabatella avatar Sep 05 '22 13:09 MarcSabatella

I do not have this problem on my 4k screen

jessjwilliamson avatar Sep 05 '22 13:09 jessjwilliamson

OK, just had it happen again, after changing my default zoom to 125%, which made it go away yesterday. Here is what it looks like:

image

In case it's not obvious, check the bottom staff line. What's odd - and this was the case yesterday too - is that the glitch doesn't extend the full width of the system.

MarcSabatella avatar Sep 05 '22 16:09 MarcSabatella

image

Still seems to happen unpredictably, no matter the zoom settings

mike-spa avatar Oct 28 '22 12:10 mike-spa

Maybe @igorkorsukov knows how to fix it (is it possible or not)

DmitryArefiev avatar Oct 28 '22 15:10 DmitryArefiev