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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |71ddcebf3deb5bfa921bbaa5904 |e1c824a2c36ea3fa8e972341e02
                   |5397cf4d818ff               |73a40171b83dc

--- Comment #10 from Ismael Asensio <isma...@gmail.com> ---
Git commit e1c824a2c36ea3fa8e972341e0273a40171b83dc by Ismael Asensio.
Committed on 24/07/2024 at 01:21.
Pushed by iasensio into branch 'Plasma/6.1'.

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


(cherry picked from commit 71ddcebf3deb5bfa921bbaa59045397cf4d818ff)

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/e1c824a2c36ea3fa8e972341e0273a40171b83dc

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

Reply via email to