Summary: | [wayland] Hiding and showing window border causes window to extend vertically | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | indecisiveautomator |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nate |
Priority: | NOR | ||
Version: | 5.23.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/ceec4e50508fa92f55ad8581586831fa2d8fe605 | Version Fixed In: | 5.24 |
Description
indecisiveautomator
2021-10-20 14:51:54 UTC
> (e.g. with Alt+,)
what's the full name of this shortcut?
It's called "Hide Window Border" under KWin Shortcuts. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1583 Git commit 09952e1dc76ad1b7c15980980699b39cb2e5dd86 by Vlad Zahorodnii. Committed on 29/10/2021 at 14:40. Pushed by vladz into branch 'master'. wayland: Fix wayland windows growing after toggling decorations After the decoration is destroyed, we need to resize XdgToplevelClient to ensure that the scheduled configure event will have correct size. As is, xdg-toplevel configure events are delayed. When it's actually the time to send a configure event, XdgToplevelClient will compute the requested client size from the moveResizeGeometry(). If the moveResizeGeometry() still includes window decorations, the window will get bigger. M +3 -2 src/abstract_client.cpp M +1 -2 src/x11client.cpp https://invent.kde.org/plasma/kwin/commit/09952e1dc76ad1b7c15980980699b39cb2e5dd86 Git commit ceec4e50508fa92f55ad8581586831fa2d8fe605 by Vlad Zahorodnii. Committed on 03/11/2021 at 16:55. Pushed by vladz into branch 'Plasma/5.23'. wayland: Fix wayland windows growing after toggling decorations After the decoration is destroyed, we need to resize XdgToplevelClient to ensure that the scheduled configure event will have correct size. As is, xdg-toplevel configure events are delayed. When it's actually the time to send a configure event, XdgToplevelClient will compute the requested client size from the moveResizeGeometry(). If the moveResizeGeometry() still includes window decorations, the window will get bigger. (cherry picked from commit 09952e1dc76ad1b7c15980980699b39cb2e5dd86) M +3 -2 src/abstract_client.cpp M +1 -2 src/x11client.cpp https://invent.kde.org/plasma/kwin/commit/ceec4e50508fa92f55ad8581586831fa2d8fe605 |