"Draw antialiased" is unchecked in some cases which leads to sharped curves rendering
Reported version
3.0
Priority
P0 - Critical
Type
Graphical (UI)
Frequency
Once
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
OS: Windows 7 SP 1 (6.1), Arch.: x86_64, MuseScore version (64-bit): 3.0.0.4253, revision: 082e635
1) Default score
2) Enter a few notes and add slurs, ties and hairpins
Result: poor, degraded rendering even with the default zoom (100%)
And worse of course in higher values (eg 400%)
-
In comparison, with the version 2.3.2:
Comments
This issue occurs on November 29.
Expected display with this nightly: 38974d9
Current and poor rendering with the next one: bf05b50
FWIW, I can't reproduce on my system, Windows 10. The commit in question really can't explain this. I suspect whatever is going on is more likely related to pixel scaling.
I can reproduce here on Windows 7 and 10 and on two different computers and screens (desktop vs. laptop)
And the change is so obvious between the two mentioned nightlies that issue is also obvious.
"The commit in question really can't explain this"
I don't talk about a specific commit yet, but about nightlies. And from I see, there a few commits (6) between the two mentioned nightlies.
I can reproduce even on Mac. Everything is ok when exporting to PDF, btw.
And beams too :(
(after checking: same origin/date of November 29)
It looks ok on linux. Was Qt version changed between nightlys?
Maybe, but if so for Mac only and after the date of this report (basically a last change for Beta 2, and maybe for that only?)
Qt is not the reason. The most visible symbol is glissando. The "waves" are obviously resharped. I thought it related to new version of Bravura, reverted the migration, but no, no difference.
It is reprocible on Linux as well, dmitrio95 was the first who found this bug on Debian.
In reply to Qt is not the reason. The… by Anatoly-os
Glissandos are composed by glyphs but slurs and beams are directly painted by Qt. QPainter::Antialiasing flag can influence the appearance. This flag is configurable in preferences.
After further investigation, I am not right now entirely sure of the explanation, but:
In November 29, between the two mentioned nightlies/commit in first report, there was this one: https://github.com/musescore/MuseScore/pull/4248/files
About the canvas, with custom workspace and GUI preferences, with the first one, it was set like this.
With the second one, like this:
And so, I received this (eg for the hairpin)
And even I changed in the same session, the preference (all white color), I received the same problem. It maybe (probably) the issue I seen.
I can not say that everything is back as expected now, it should continue to test further with custom workspace, GUI preferences, colors, background, wallpapers, etc. These last days, I was intrigued by this (with colors, background) when opening other nightlies to check other things.
But from what I see after a revert to factory settings, I do not see the same issue or at least I can not reproduce for now. Rather good news!
In reply to After further investigation,… by cadiz1
I see the same things, and more, in Canvas -> Miscellaneous -> Draw antialiased is unchecked.
When box checked, problem seem to be fixed.
So the question is why is that box unckecked after a fresh install (is it?), but is checked after a factory reset (it is, just tested!)?
In reply to So the question is why is… by Jojo-Schmitz
To be sure, I reset to factory defaults.
Choose Advanced Workspace, create a new Workspace
Close and reopen, Anti aliasing is unchecked, as colors of backgrood and foregroud are changed.
Even if you picked Advanced Workspace at the frst new start after the reset, from the wizard? Or does it get unchecked only on the create new workspace?
In reply to It looks ok on linux. Was Qt… by [DELETED] 3
@werner, I think you might be on to something with your theory that it is the upgrade from Qt 5.9 to 5.12 causing the problem.
First, a little context. I am on Windows 7 32 bit, so I can't use current nightlies. I build MuseScore myself from sources.
I can see the difference between building with MinGW530_32 and Qt 5.9.5 and building with MSVC 2017 and Qt 5.12.0. The MSVC 2017 and Qt 5.12 build exhibits the same lack of antialiasing, while the MinGW530_32 and Qt 5.9 build has nice smooth beams on-screen. The only snag in this theory is that not only the Qt version has changed between my two builds, but also the compiler. Someone else should verify that it is indeed Qt by compiling with Qt 5.9 and 5.12 with the same compiler.
I don't see how having that "Draw antialiased" checkbock being checked or not could possible be related to what compiler or Qt version is involved. I can imagine though it being related to workspaces and switching between them
In reply to I don't see how having that … by Jojo-Schmitz
And, I can't reproduce with the last Nightly : OS: Windows 7 SP 1 (6.1), Arch.: x86_64, MuseScore version (64-bit): 3.0.0.4385, revision: 8e453c3
Very strange too, I'm not aware of any relevant changes
@JLWaltener, @Jojo-Schmitz I see a difference between antialiasing quality if I build with MinGW and Qt 5.9 on the one hand and MSVC and Qt 5.12 on the other. Things are drawn antialiased, but beams look noticeably more jagged in the MSVC / Qt 5.12 build.
See the smooth hairpin and the jagged beam.
In reply to @JLWaltener, @Jojo-Schmitz I… by Louis Cloete
Yes I see that, a slightly less quality of antialiasing, if I zoom the score 200 %, or more 400 % antialiasing is better...
OK, a slight difference might be explained by the Qt version difference but still not the status of that checkbox (which in turn explains a large difference though)
I locate the change for the glissando (sharpened waves) in October 2016.
More precise soon. I return into the machine room!
I have some engine oil on the forehead, but it's okay :)
So, October 10/11, 2016
With this one, just fine: fcb88e5
With the next one (first of October 11), not fine: 676b0a3
In consequence, we should reasonably be able to vote for a side effect of this commit: https://github.com/musescore/MuseScore/commit/99c04f832f505468e63dcc939…
To fix: https://musescore.org/en/node/127086
So I struggled a bit with my build environment, but I finally got a Qt 5.9 build with MinGW again and... it suddenly looks jagged too, exactly as the MSVC with Qt 5.12 build. So it is probably nothing to do with the Qt version or compiler. Sorry for leading you astray.
I did not get the degraded rendering. OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.0.0.4328, revision: 2b25396
In reply to I did not get the degraded… by [DELETED] 29378932
Can you show us how your beams look?
EDIT: Comment addressed to @BFI221
To sum up, if we check "draw antialiased" everything is drawn correctly. Could anyone point to the particular case when the checkbox is unchecked?
Ok, meanwhile, better to report the specific issue for glissando. Here: #279887: "Waves" of glissando symbol are badly defined
@Anatoly-os I definitely see a difference in antialiasing between builds before and after 10 Dec somewhere. Lines are being antialiased in both cases, but it is as if the method differs giving different results. See my post above. AA is on, you can see it in the hairpin, but the AA on the beam doesn't look as it used to and looks IMHO worse. I don't think the beam isn't antialiased, it is just as if the antialiasing is just done with a different method, making it look different.
About beams, and with this test score ( test.mscz ), I note a sensible change on December 9. See measure 3 top staff - under "Adagio"
And always with the default configuration (ie "Draw antialised" checked)
With this one, a9203cb, and zoom 800%, I get:
And with the next one, d5298f5, I receive (so, a side effect of this commit about cross beams and tuplet beams layout ? )
Maybe related to #280048: Applying changed preferences restores default UI? Somehow editing preferences resets some things, and not in a correct way in this case?
In reply to Maybe related to #280048:… by Marc Sabatella
I will check before and after that this commit will be merged.
But, yourself, are you satisfied with the rendering of the beams in the two images you attached here? https://musescore.org/en/node/280155
No, definitely not. This just started happening within the past couple of days. maybe, when I tried testing changing preferences to investigate that issue :-)
In reply to Can you show us how your… by Louis Cloete
@Louis Cloete, Sorry about the late response. Here are some beams.
Fixed in branch master, commit 0bb4452fce
partiall fix #279495: ugly beams drawing
Fixed in branch master, commit 0532c388ec
fix #279887, fix #279495: fix sharped glissandi
Revert back pdf printing of the glissandi. See https://musescore.org/en/node/127086
Automatically closed -- issue fixed for 2 weeks with no activity.