<table><tr><td style="">bosimonsen updated this revision to Diff 37517.<br />bosimonsen retitled this revision from "Use PlasmaComponents for Label" to "Use QtQuick.Controls 2.0 Label in energy and fileindexmonitor KCM".<br />bosimonsen edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-kfitwlz6htzyg7v/">(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/D14011">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">The <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Label in </span>QtQuick.Controls <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">is only using renderType Text.QtRendering for mobile devices</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">1.0 does not handle Label well on screens that uses a fractional scaling</span>. <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">This is not entirely correct</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">The fonts become<br />
blurry</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">machines running with fractional scaling will also need Text.QtRendering, instead it uses Text.NativeRendering which becomes blurry on devices using fractional scaling.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">this has been fixed in  QtQuick.Controls 2.0 and org.kde.plasma.components,</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">The package "org.kde.plasma.components" does the renderType correctly therefore we use the Label component from that package</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">however we prefer to use QtQuick.Controls 2.0 since the modules will anyway transition to 2.0 at some time</span>.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R102 KInfoCenter</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D14011?vs=37481&id=37517">https://phabricator.kde.org/D14011?vs=37481&id=37517</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14011">https://phabricator.kde.org/D14011</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>Modules/energy/package/contents/ui/main.qml<br />
Modules/fileindexermonitor/package/contents/ui/main.qml</div></div></div><br /><div><strong>To: </strong>bosimonsen<br /><strong>Cc: </strong>ngraham, broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>