<table><tr><td style="">bruns created this revision.<br />bruns added reviewers: Baloo, VDG, ngraham.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />bruns 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/D28025">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The current "Excluded folders" list in the KCM is quite awkward:</p>
<ol class="remarkup-list">
<li class="remarkup-list-item">It tries to mimic baloos automatic exclusion of external drives, but fails doing so and adds almost any external drive even when not mounted below an indexable path.</li>
</ol>
<ol class="remarkup-list" start="2">
<li class="remarkup-list-item">Deleting an autogenerated entry actually <strong>adds</strong> it to the included folder list, and then hides it.</li>
</ol>
<ol class="remarkup-list" start="3">
<li class="remarkup-list-item">There is no way to show the included folder list, or add any entries to it.</li>
</ol>
<p>Remove the custom "excluded mounts" heuristic from the KCM and retrieve<br />
the additional (not explicitly configured) excluded ones from baloo.</p>
<p>Replace the "excluded list" with a common list for included and excluded<br />
folders, and flag its state. This also makes it easy to add additional<br />
properties later.</p>
<p>Create a new UI delegate for each config list item, allowing to enable<br />
and disable indexing for each entry. Make the "delete" actually always<br />
delete a config entry, and make the control inline. Move the "Add" button<br />
to the *right* bottom of the list (in accordance with UI guidelines) and<br />
add some text to it.</p>
<p>Depends on <a href="https://phabricator.kde.org/D28024" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D28024</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>baloo_config_rework</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28025">https://phabricator.kde.org/D28025</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcms/baloo/filteredfoldermodel.cpp<br />
kcms/baloo/filteredfoldermodel.h<br />
kcms/baloo/package/contents/ui/main.qml</div></div></div><br /><div><strong>To: </strong>bruns, Baloo, VDG, ngraham<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>