Bug 479447

Summary: Panel Spacer with expanding panel causes never ending bouncing
Product: [Plasma] plasmashell Reporter: Davy <davy>
Component: Panel Spacer widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.5   
Target Milestone: 1.0   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:
Attachments: Panel resize loop demo and repo steps

Description Davy 2024-01-05 21:04:16 UTC
Created attachment 164695 [details]
Panel resize loop demo and repo steps

SUMMARY
***
When using a panel spacer along with a panel that can resize dynamically, the spacer makes the panel go into a resize loop / bounce and becomes unusable.
Video attached showing the issue.
***


STEPS TO REPRODUCE
1. Add a spacer to the panel
2. Make the Panel min width smaller than the max
3. Make the panel expand. Opening applications is the faster way.

OBSERVED RESULT
The panel starts a resize/bounce loop and becomes unusable.

EXPECTED RESULT
The panel should resize to fit the content

SOFTWARE/OS VERSIONS
Linux: Debian 12 - clean install
KDE Plasma Version:  5.27.5
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8
Comment 1 Davy 2024-01-23 04:52:51 UTC
Is there anything I can help with to get this issue fixed?
Comment 2 Nate Graham 2024-02-15 19:25:39 UTC
Thanks for the bug report. Sorry it's taken a while to get noticed.

The two options most likely to lead to a fix are to investigate the code and submit a patch, or pay someone else to do so.

That said, in my testing the issue does not seem to be present in Plasma 6, so let's call it fixed. This is plausible as a *ton* of work has gone into squashing panel bugs in Plasma 6.