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

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |71ddcebf3deb5bfa921bbaa5904
                   |                            |5397cf4d818ff
   Version Fixed In|                            |6.1.4

--- Comment #9 from Ismael Asensio <isma...@gmail.com> ---
Git commit 71ddcebf3deb5bfa921bbaa59045397cf4d818ff by Ismael Asensio.
Committed on 23/07/2024 at 18:53.
Pushed by iasensio into branch 'master'.

applets/taskmanager: Fix applet's layout size with multiple rows

The property `Layout.maximumWidth` of the `taskList` didn't take
into account the number of rows. This was compensated later when
calcualting its actual width, but not for the applet's preferred
size, resulting in extra demanded space.

To fix it, move the influence of the rows directly into the property.

This was only noticeable with the settings `forceStripes==true`,
and `fill==false` because in any other combination, either the space
is wanted, or the tasks fills the available space before creating
a new row.

Due to symmetry, the same is done on vertical panels for
'Layout.maximumHeight` and the number of columns.
FIXED-IN: 6.1.4

M  +12   -8    applets/taskmanager/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/71ddcebf3deb5bfa921bbaa59045397cf4d818ff

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

Reply via email to