<table><tr><td style="">christianlopez added a comment.
</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/D10223" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Hi, i was playing a bit with the code and i'm noticing you can get good looking images without activating the smooth and without making the thumbnails look blurry, also i think i know the reason why the thumbnails look distorted. At the line 239 in  FolderItemDelegate.qml there's the object PlasmaCore.IconItem which has the properties width and height. At the momen:  the properties are calculated the following way:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">width: root.useListViewMode ? main.GridView.view.iconSize : (parent.width - 2 * units.smallSpacing)
height: main.GridView.view.iconSize</pre></div>

<p>I notices this produces numbers like: width: 81.5714 height: 48 or with: 97.8333 height, 64 or width: 64.35 height: 32<br />
In all this cases both numbers are very different and i noticed the more different this numbers are between them the more distorted and blocky the thumbnail looks, i managed to produce perfectly looking thumbnails by putting the same number in both fields, for example: width: 80 height: 80, interestingly this doesn't affects the proportions of the thumbnails.</p>

<p>The problem is that if the icons are configured, for example to have an icon size of 48 they'll be much smaller if we use: width: 48 height 48, and if we use the calculated value of 81.57 in both: width: 81.57 height: 81.57 the thumbnails will be very big so there must be a way set the same number on both properties while making the thumbnails to be shown at the desired size.</p>

<p>Here's how it looks normally with the calculated values in the code (width: 97.8333 height: 64):<br />
<a href="https://phabricator.kde.org/F5698834" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F5698834: Screenshot_20180208_115655.png</a></p>

<p>This is how it looks if i set with: 64 height: 64 :<br />
<a href="https://phabricator.kde.org/F5698842" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F5698842: Screenshot_20180208_115930.png</a></p>

<p>This is how it looks if i set with: 98 height: 98 :<br />
<a href="https://phabricator.kde.org/F5698844" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F5698844: Screenshot_20180208_120034.png</a></p>

<p>I don't know if this information may help, it's the first time i try to modify the code of plasma.</p></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/D10223" rel="noreferrer">https://phabricator.kde.org/D10223</a></div></div><br /><div><strong>To: </strong>hein, Plasma, broulik, ngraham<br /><strong>Cc: </strong>christianlopez, markg, broulik, ngraham, kossebau, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>