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

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libplasma/-/commit/c91e5 |ma/libplasma/-/commit/abd46
                   |283632bf2f56445f071e5727f36 |53526271a1af6c8c351bf22d709
                   |d4051406                    |fc799c10

--- Comment #2 from Marco Martin <notm...@gmail.com> ---
Git commit abd4653526271a1af6c8c351bf22d709fc799c10 by Marco Martin.
Committed on 26/06/2024 at 10:38.
Pushed by mart into branch 'Plasma/6.1'.

Workaround to possible infinite reize loops

check against the following edge case:
The compact representation preferred size is bigger than both the switch
size, and the full representation preferred size.
this can cause in the panel (when is quite big) an infinite resize loop,
because
the applet size is bigger than the switch size, then it switches to full
representaiton that has a smaller hint. this causes a resize that will make it
switch to compact representation, making it grow again and switch again

This problem happens with the timer applet which has those incorrect
size hints


(cherry picked from commit c91e5283632bf2f56445f071e5727f36d4051406)

971ff94c Workaround to possible infinite reize loops

Co-authored-by: Marco Martin <notm...@gmail.com>

M  +22   -2    src/plasmaquick/appletquickitem.cpp
M  +1    -1    src/plasmaquick/private/appletquickitem_p.h

https://invent.kde.org/plasma/libplasma/-/commit/abd4653526271a1af6c8c351bf22d709fc799c10

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

Reply via email to