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

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/9de61e188c
                   |                            |6b583386a3734b7f51d3658b9fb
                   |                            |f1c
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #8 from Vlad Zahorodnii <[email protected]> ---
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 506622

M  +27   -0    autotests/integration/tiles_test.cpp
M  +1    -0    src/tiles/customtile.cpp

https://invent.kde.org/plasma/kwin/-/commit/9de61e188c6b583386a3734b7f51d3658b9fbf1c

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

Reply via email to