<table><tr><td style="">ngraham edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ngcuduzczd3psdi/">(Show Details)</a><br />ngraham edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-6tmmfdezu5ada2k/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11244">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">When `PLASMA_USE_QT_SCALING=1` is set, Plasma uses native Qt scaling. This works fine for integer scale factors, and fixes a lot of bugs (see [[https://bugs.kde.org/show_bug.cgi?id=356446|Bug 356446]] but it introduces a new one: with non-integer scale factors, text becomes blurry and pixellated<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">,</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> because of a bug in NativeRendering.<br />
<br />
QQC2-desktop-style forces the use of Qt font rendering for non-integer scale factors, successfully working around the problem.</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">because NativeRenderins is used</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">But PlasmaComponents QML objects don't implement the same workaround</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">and PlasmaComponents QML objects don't implement the fix that QQC2-desktop-style does to force the use of Qt font rendering for non-integer scale factors</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">so we see the issue in Plasma</span>. This patch fixes that, and gets us one step closer to being able to use Qt scaling in Plasmashell.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">Before: `PLASMA_USE_QT_SCALING=1` set, 1.2 scale factor: Plasma text looks awful<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">:<br />
{F5749797}</span><br />
<br />
After: `PLASMA_USE_QT_SCALING=1` set, 1.2 scale factor: Plasma text looks amazing!<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
{F5749798}</span><br />
<br />
Wit<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">h</span>out both `PLASMA_USE_QT_SCALING=1` and a non-integer scale factor set, there is no visual change.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11244">https://phabricator.kde.org/D11244</a></div></div><br /><div><strong>To: </strong>ngraham, Plasma, davidedmundson<br /><strong>Cc: </strong>Frameworks, michaelh<br /></div>