https://bugs.kde.org/show_bug.cgi?id=506622

Hynek Schlindenbuch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/04e43bd9af |ma/kwin/-/commit/59dfbab763
                   |bb75985c3e0b9617243d9070f84 |78b2b6c4df39c75ce0b75d9b1d2
                   |d30                         |6de

--- Comment #7 from Hynek Schlindenbuch <[email protected]> ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to