<table><tr><td style="">bshah created this revision.<br />bshah added reviewers: mart, apol.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />bshah 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/D22049">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>X-KDE-ParentApp is the key in desktop file to display that given service<br />
or application is part of the another application or extension of other<br />
application. In KDE4 this key was used to mark applets to be used in the<br />
specific application like plasma-desktop, kdevelop, amarok etc.</p>

<p>In KF5 world, none of this applications have applet loading mechanism<br />
apart from plasma*, and there are likely only Plasma applet, containment<br />
or dataengines.</p>

<p>Previous API, when no/empty parentApp was passed would filter out every<br />
application which had something as parentApp. This was to ensure only<br />
compatible plugins are loaded in Plasma. This resulted in applets<br />
getting excluded if they suggested that org.kde.plasmashell is their<br />
parent application. Refine this API to,</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">If no/empty parentApp is provided, provide all applets</li>
<li class="remarkup-list-item">If parentApp is provided, filter by applet</li>
</ul>

<p>This behavior is more filter like instead of other way around.</p>

<p>CHANGELOG: Applet, DataEngine and containment listing methods in<br />
Plasma::PluginLoader no longer filters the plugins with X-KDE-ParentApp<br />
provided when empty string is passed.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>tested that plasma loads properly, plasmaengineexplorer lists<br />
all engines and plasmawindowed works fine. Neverthless requires more testing</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</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/D22049">https://phabricator.kde.org/D22049</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/plasma/pluginloader.cpp<br />
src/plasma/pluginloader.h</div></div></div><br /><div><strong>To: </strong>bshah, mart, apol<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns<br /></div>