With the KCM from kde-gtk-config, if the gtk(3)_preview binary was not there, the preview button was not shown. Now that the KCM got rewritten/moved, the button is shown nevertheless.
Git commit 74f7e06445ff44bcc104800ba444c4279a286bd3 by Mikhail Zolotukhin. Committed on 22/01/2020 at 18:27. Pushed by gikari into branch 'Plasma/5.18'. [App Style KCM] Hide preview buttons, if previewers are not found Summary: FIXED-IN: 5.18.0 Test Plan: # Open GTK page of Application Style KCM, the preview buttons should be present # Delete `usr/lib/libexec/gtk_preview` file or rename it to something else # Reopen GTK page of KCM - the GTK2 preview button should disappear # Delete `usr/lib/libexec/gtk3_preview` file or rename it to something else # Reopen GTK page of KCM - the GTK3 preview button should disappear too # Bring back the deleted/renamed files # Reopen KCM, the buttons should be present Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D26770 M +2 -0 kcms/style/CMakeLists.txt M +11 -0 kcms/style/gtkpage.cpp M +3 -0 kcms/style/gtkpage.h M +2 -0 kcms/style/package/contents/ui/GtkStylePage.qml https://commits.kde.org/plasma-desktop/74f7e06445ff44bcc104800ba444c4279a286bd3