<table><tr><td style="">hein updated this revision to Diff 12011.<br />hein 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/D4860" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Fix hitbox for list view mode. It was broken in the initial patch.</p>
<p>Use states a la icon code.</p>
<p>Compared to the old hitbox in listview mode, with the new code:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">The hitbox spans the full row height (no point leaving a gutter as before).</li>
<li class="remarkup-list-item">The hitbox doesn't weirdly end ~1cm early.</li>
</ul>
<p>Note that unlike Dolphin, the hitbox isn't constrained to the<br />
length of the label. There's no value to that for FV because<br />
we don't do rectangle select in list view mode, and it matches<br />
the UX of other Plasma list-like UIs like Kicker & co.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D4860?vs=12005&id=12011" rel="noreferrer">https://phabricator.kde.org/D4860?vs=12005&id=12011</a></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4860" rel="noreferrer">https://phabricator.kde.org/D4860</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>containments/desktop/package/contents/ui/FolderItemDelegate.qml</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>hein, Plasma<br /><strong>Cc: </strong>plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>