Bug 443596

Summary: Ability to opt out of minimum window size rule, while the script is loaded
Product: [Plasma] kwin Reporter: Mikhail Zolotukhin <mail>
Component: scriptingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: postix
Priority: NOR    
Version First Reported In: 5.22.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.