musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.21k stars 2.64k forks source link

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

Open mike-spa opened 2 years ago

mike-spa commented 2 years ago

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

Additional context The problem started quite recently.

cbjeukendrup commented 2 years ago

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

mike-spa commented 2 years ago

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

Yep, very likely it started there.

mike-spa commented 2 years ago

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.

DmitryArefiev commented 2 years ago

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?

MarcSabatella commented 2 years ago

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.

jessjwilliamson commented 2 years ago

I do not have this problem on my 4k screen

MarcSabatella commented 2 years ago

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.

mike-spa commented 1 year ago
image

Still seems to happen unpredictably, no matter the zoom settings

DmitryArefiev commented 1 year ago

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

cbjeukendrup commented 2 months ago

Is this still actual with Qt 6?