https://invent.kde.org/plasma/kwin/-/commit/bf5155f82b1655a98311a73fa466484862f1cd09 causes KFind and Spectacle to no longer display minimize and maximize buttons in their titlebars. However they are still minimizble and maximizable using keyboard shortcuts, and maximizable by double-clicking the titlebar or dragging the window to the top edge of the screen
xprop | grep _NET_WM_ALLOWED_ACTIONS _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE and clicking on spectacle. So it's doing exactly what the client requested. I checked why it's not set in spectacle. We inherit from qdialog, and that due to: QWidgetPrivate::adjustFlags else if (type == Qt::Dialog || type == Qt::Sheet) { flags |= Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint;
Git commit 6f6603eb64b945e39820a0658504041b851c6e8c by Kai Uwe Broulik. Committed on 01/01/2021 at 15:34. Pushed by davidedmundson into branch 'master'. x11integration: Force standalone Qt::Dialog resizable Because KWin now honors minimize/maximize button hint. M +21 -0 src/platformtheme/x11integration.cpp https://invent.kde.org/plasma/plasma-integration/commit/6f6603eb64b945e39820a0658504041b851c6e8c