| Summary: | Losing one of the custom tiling location at restart or logout | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Bruno <bruno> |
| Component: | Custom Tiling | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dajake1337, kde.tmapu, mr.yamamoto, notmart |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.0 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/59dfbab76378b2b6c4df39c75ce0b75d9b1d26de | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Bruno
2025-07-05 09:07:53 UTC
I'm observing the same behavior, and it's also happening to my monitor in portrait mode. It's my leftmost monitor and I'm on plasma 6.4.1 Exact same situation here - left-hand portrait monitor constantly loses the tile layout, happening since KDE 6.4.x. I too experience this. Same setup. Left hand portrait Monitor doesn't save tiling config. Also since 6.4.x A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/9310 Git commit 9de61e188c6b583386a3734b7f51d3658b9fbf1c by Vlad Zahorodnii, on behalf of Hynek Schlindenbuch. Committed on 01/06/2026 at 07:22. Pushed by vladz into branch 'master'. tiles: fix incorrect split of single tile The bug could be reproduced like this: - Load the 3 column custom tiling layout. - Delete 2 of the columns. - Split the remaining column into top/bottom. - Reload kwin. - There is only one tile remaining. The issue was that the second tile was created as a sibling of the originally split tile (i.e. 2 tiles both with the root tile as parent), but the root tile's layout wasn't changed. So it remained horizontal and as a result it was saved incorrectly to JSON (2 horizontal tiles with width = 1, instead of 2 vertical tiles with height = 0.5). When the layout was loaded from the JSON, the second tile was dropped, because it didn't fit. Related: bug 514355 M +27 -0 autotests/integration/tiles_test.cpp M +1 -0 src/tiles/customtile.cpp https://invent.kde.org/plasma/kwin/-/commit/9de61e188c6b583386a3734b7f51d3658b9fbf1c Git commit 04e43bd9afbb75985c3e0b9617243d9070f84d30 by Vlad Zahorodnii. Committed on 01/06/2026 at 08:15. Pushed by vladz into branch 'Plasma/6.7'. tiles: fix incorrect split of single tile The bug could be reproduced like this: - Load the 3 column custom tiling layout. - Delete 2 of the columns. - Split the remaining column into top/bottom. - Reload kwin. - There is only one tile remaining. The issue was that the second tile was created as a sibling of the originally split tile (i.e. 2 tiles both with the root tile as parent), but the root tile's layout wasn't changed. So it remained horizontal and as a result it was saved incorrectly to JSON (2 horizontal tiles with width = 1, instead of 2 vertical tiles with height = 0.5). When the layout was loaded from the JSON, the second tile was dropped, because it didn't fit. Related: bug 514355 (cherry picked from commit 9de61e188c6b583386a3734b7f51d3658b9fbf1c) Co-authored-by: Hynek Schlindenbuch <schlindenbuch.h@seznam.cz> M +27 -0 autotests/integration/tiles_test.cpp M +1 -0 src/tiles/customtile.cpp https://invent.kde.org/plasma/kwin/-/commit/04e43bd9afbb75985c3e0b9617243d9070f84d30 Git commit 59dfbab76378b2b6c4df39c75ce0b75d9b1d26de by Hynek Schlindenbuch. Committed on 01/06/2026 at 18:02. Pushed by vladz into branch 'Plasma/6.6'. tiles: fix incorrect split of single tile The bug could be reproduced like this: - Load the 3 column custom tiling layout. - Delete 2 of the columns. - Split the remaining column into top/bottom. - Reload kwin. - There is only one tile remaining. The issue was that the second tile was created as a sibling of the originally split tile (i.e. 2 tiles both with the root tile as parent), but the root tile's layout wasn't changed. So it remained horizontal and as a result it was saved incorrectly to JSON (2 horizontal tiles with width = 1, instead of 2 vertical tiles with height = 0.5). When the layout was loaded from the JSON, the second tile was dropped, because it didn't fit. Related: bug 514355 M +27 -0 autotests/integration/tiles_test.cpp M +1 -0 src/tiles/customtile.cpp https://invent.kde.org/plasma/kwin/-/commit/59dfbab76378b2b6c4df39c75ce0b75d9b1d26de |