Bug 431073

Summary: Buggy centring with spacers
Product: [Plasma] plasmashell Reporter: simon.bra.ag
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: 5.20.4   
Target Milestone: 1.0   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A GIF

Description simon.bra.ag 2021-01-02 17:36:25 UTC
Created attachment 134479 [details]
A GIF

SUMMARY
I have a widget which is centred using spacers. Before the first spacer, there is another widget. When this widget changes size, the centred widget for a moment changes position. This is not very nice to look at if it happens often.

EXPECTED RESULT
The centred widget shouldn't change position.

STEPS TO REPRODUCE
1. Create a panel
2. Add the following widgets in the following order: Global menu, Spacer, Digital Clock, Spacer
3. Change focus between windows so that the global menu changes size

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Comment 1 veggero 2022-12-07 14:34:32 UTC
I recently refactored spacers. Does this still happen in the very latest version of Plasma and Frameworks?
Comment 2 simon.bra.ag 2022-12-07 15:04:54 UTC
Ah, yes, you're right - it's fixed. Thank you! (nice YouTube channel btw :))