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

Niccolò Venerandi <[email protected]> changed:

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

--- Comment #6 from Niccolò Venerandi <[email protected]> ---
Git commit bb150110d4da5bad133bb31a25e07eba2e7d3480 by Niccolò Venerandi.
Committed on 07/02/2025 at 15:58.
Pushed by niccolove into branch 'master'.

Improve accuracy of positioning of elements in applet layout

Avoids overlapping of applets by always using the latest calculated
item position (since the x, y values might not be updated yet),
iterates cell-by-cell to find the closes available position and
accounts for both distance and change in size when choosing for
the best free space available.

M  +15   -13   components/containmentlayoutmanager/abstractlayoutmanager.cpp
M  +7    -5    components/containmentlayoutmanager/abstractlayoutmanager.h
M  +0    -2    components/containmentlayoutmanager/appletslayout.cpp
M  +12   -17   components/containmentlayoutmanager/gridlayoutmanager.cpp
M  +1    -1    components/containmentlayoutmanager/gridlayoutmanager.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/bb150110d4da5bad133bb31a25e07eba2e7d3480

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

Reply via email to