<table><tr><td style="">hein created this revision.<br />hein added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />hein 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/D15855">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Moves MouseArea out of the item delegate and uses a single MouseArea per view.</li>
<li class="remarkup-list-item">Ports all the pages to using a shared view component.</li>
</ul>

<p>Aside from saving a lot of QObjects, using a single MouseArea also<br />
has the advantage that MouseArea.positionChanged isn't fired when<br />
QQuickWindow synthesizes a hover event per frame, unlike MouseArea<br />
.containsMouse. This fixes a user-reported bug in the search page,<br />
and the same pattern is used by various other UIs we have for<br />
similar reasons.</p>

<p>BUG:397693</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></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/D15855">https://phabricator.kde.org/D15855</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/kickoff/package/contents/ui/ApplicationsView.qml<br />
applets/kickoff/package/contents/ui/BaseView.qml<br />
applets/kickoff/package/contents/ui/Breadcrumb.qml<br />
applets/kickoff/package/contents/ui/FavoritesView.qml<br />
applets/kickoff/package/contents/ui/KickoffItem.qml<br />
applets/kickoff/package/contents/ui/SearchView.qml</div></div></div><br /><div><strong>To: </strong>hein, Plasma<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>