Summary: | Combination of digital clock and media player causes freeze if panel is too thick | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Nicolai Weitkemper <kde-bugs> |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, niccolo.venerandi |
Priority: | NOR | ||
Version: | 6.0.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/libplasma/-/commit/abd4653526271a1af6c8c351bf22d709fc799c10 | Version Fixed In: | 6.1.2 |
Attachments: | stderr of `plasmashell --replace` |
Description
Nicolai Weitkemper
2024-06-22 12:17:27 UTC
Git commit c91e5283632bf2f56445f071e5727f36d4051406 by Marco Martin. Committed on 26/06/2024 at 10:38. Pushed by mart into branch 'master'. 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 M +22 -2 src/plasmaquick/appletquickitem.cpp M +1 -1 src/plasmaquick/appletquickitem_p.h https://invent.kde.org/plasma/libplasma/-/commit/c91e5283632bf2f56445f071e5727f36d4051406 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 <notmart@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 |