Skip to content

Workaround to possible infinite reize loops

Marco Martin requested to merge work/cherry-pick-c91e5283 into Plasma/6.1

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

BUG:488974

(cherry picked from commit c91e5283)

971ff94c Workaround to possible infinite reize loops

Co-authored-by: Marco Martin notmart@gmail.com

Merge request reports

Loading