| Summary: | https://commits.kde.org/kwin/bf5155f82b1655a98311a73fa466484862f1cd09 prevents minimize/maximize for some apps | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Nate Graham <nate> |
| Component: | core | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde |
| Priority: | VHI | Keywords: | regression |
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nate Graham
2020-12-21 14:42:09 UTC
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 |