Summary: | "No titlebar and frame" Window rule makes applications open in a very tiny window. | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | tomasralph2000 |
Component: | rules | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | isma.af, nate |
Priority: | NOR | Keywords: | wayland |
Version: | 5.23.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/77b678c522cce0e8e7b39087f74e2ac591cd28d0 | Version Fixed In: | 5.23.5 |
Description
tomasralph2000
2021-11-07 22:30:25 UTC
I forgot to note that this is a Wayland specific issue. The rule works perfectly fine on X11. I can reproduce. This happens only on wayland, and for new opened windows. If the rule is applied to an already open window, it will behave as expected. I think it has to do with `setNoBorder(true)` in xdgshellclient more than with rules themselves (but rules are the easier way to trigger this behavior). A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1787 Git commit 77b678c522cce0e8e7b39087f74e2ac591cd28d0 by Ismael Asensio. Committed on 13/12/2021 at 00:23. Pushed by iasensio into branch 'Plasma/5.23'. XDGShellClient: Protect from invalid frameGeometry on updateDecoration When updating window decoration do not try to restore the previous frameGeometry if it was invalid. This fixes the case when applying a `noBorder=true` rule on a newly created client would set it to a minimal window size Targeted at 5.23 only, since this codepath is being reworked for 5.24 FIXED-IN: 5.23.5 M +1 -1 src/xdgshellclient.cpp https://invent.kde.org/plasma/kwin/commit/77b678c522cce0e8e7b39087f74e2ac591cd28d0 |