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

Marco Martin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/8f5c1027418bc0b94bc3e7216
                   |                            |8d0e3f1ff6caff3
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Marco Martin <[email protected]> ---
Git commit 8f5c1027418bc0b94bc3e72168d0e3f1ff6caff3 by Marco Martin.
Committed on 19/11/2026 at 13:59.
Pushed by mart into branch 'master'.

GridLayoutManager: Fix infinite loop on applet layouting

There was an inconsistency when going on new line:
in one place BottomToTop increased the column when the current column was
exausted
in another place decreased it
in the same way RightToleft in one place increased the row
and in another place decreased it, causing the loop exploring always
the same handful of cells never quittting.

Now it's consistent, meaning that TopToBottom will always go
from left to right when going on new columns and RightToLeft
will always go from top to bottom when going in new rows.

We will eventually need the other behaviors to have in the end independent
horizontal and
vertical preferred layout directions.

Also when it goes trough the end iterating the layout for now will just give up
without wrapping around, but i think this behavior is fine as a pure 6.8
bugfix.
a wraparound behavior can be for 6.9

M  +0    -4    components/containmentlayoutmanager/gridlayoutmanager.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/8f5c1027418bc0b94bc3e72168d0e3f1ff6caff3

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

Reply via email to