<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Plasma, hein, davidedmundson, ngraham.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />broulik requested review of this revision.
</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/D14234">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p><tt style="background: #ebebeb; font-size: 13px;">GridView</tt> pads out its delegate to ensure a uniform grid. This, however, causes items to be placed on fractional pixels, leading to blurry rendering and uneven hinting.<br />
Instead of adjusting padding calculation to return whole pixels, which will again cause a gap at the right side of the screen, since there's 20 icons in a row, slightly shift the delegate contents to move them back to whole pixels.<br />
Moreover, <tt style="background: #ebebeb; font-size: 13px;">DropShadow</tt> renders the entire item with a drop shadow, so keeping the <tt style="background: #ebebeb; font-size: 13px;">Label</tt> visible results in two labels ontop of each other leading to bolder text.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Verified with gamma ray that the <tt style="background: #ebebeb; font-size: 13px;">Label</tt> is now placed at integer scene coordinates</li>
<li class="remarkup-list-item">Font rendering does look a lot nicer, especially in second and lines further down</li>
<li class="remarkup-list-item">Verified that in software rendering Label renders fine just without a shadow</li>
<li class="remarkup-list-item">Verified that label hides when renaming file</li>
<li class="remarkup-list-item">Verified gap at the right of the screen is virtually unchanged</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14234">https://phabricator.kde.org/D14234</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>containments/desktop/package/contents/ui/FolderItemDelegate.qml</div></div></div><br /><div><strong>To: </strong>broulik, Plasma, hein, davidedmundson, ngraham<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>