<table><tr><td style="">gikari created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />gikari 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/D26770">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>BUG: 416343<br />
FIXED-IN: 5.18.0</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Open GTK page of Application Style KCM, the preview buttons should be present</li>
<li class="remarkup-list-item">Delete <tt style="background: #ebebeb; font-size: 13px;">usr/lib/libexec/gtk_preview</tt> file or rename it to something else</li>
<li class="remarkup-list-item">Reopen GTK page of KCM - the GTK2 preview button should disappear</li>
<li class="remarkup-list-item">Delete <tt style="background: #ebebeb; font-size: 13px;">usr/lib/libexec/gtk3_preview</tt> file or rename it to something else</li>
<li class="remarkup-list-item">Reopen GTK page of KCM - the GTK3 preview button should disappear too</li>
<li class="remarkup-list-item">Bring back the deleted/renamed files</li>
<li class="remarkup-list-item">Reopen KCM, the buttons should be present</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>hide-preview-buttons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26770">https://phabricator.kde.org/D26770</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcms/style/CMakeLists.txt<br />
kcms/style/gtkpage.cpp<br />
kcms/style/gtkpage.h<br />
kcms/style/package/contents/ui/GtkStylePage.qml</div></div></div><br /><div><strong>To: </strong>gikari<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>