Bug 443596 - Ability to opt out of minimum window size rule, while the script is loaded
Summary: Ability to opt out of minimum window size rule, while the script is loaded
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: scripting (show other bugs)
Version: 5.22.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-11 15:04 UTC by Mikhail Zolotukhin
Modified: 2023-09-06 10:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Zolotukhin 2021-10-11 15:04:36 UTC
SUMMARY

I am making the tiling window script. For its use case, sometimes it is desirable to opt out of the behavior, when the window do not resize below its minimum size. 

It would be nice if the KWin provided a function to toggle this rule.

See also: https://github.com/gikari/bismuth/issues/102
Comment 1 Vlad Zahorodnii 2021-10-12 10:43:25 UTC
If you use AbstractClient::moveResize(), it will ignore the minimum size hints. In theory, applications should honor that, but many of them force the minimum size on the client side, i.e. they will paint window with the minimum size instead of what the compositor asked, which is a protocol violation that kwin_wayland doesn't check.
Comment 2 David Edmundson 2023-09-06 10:38:28 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.