Bug 496862

Summary: Non-floating Panel with "Fit Content" does not take the correct width on plasmashell start
Product: [Plasma] plasmashell Reporter: Alexandre <alexandre>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: niccolo.venerandi, niccolo, rob.kde
Priority: NOR    
Version: 6.2.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Desktop showing bottom panel with incorrect width on log in
Desktop showing bottom panel with correct width

Description Alexandre 2024-11-30 12:17:20 UTC
SUMMARY
I have a panel with "icons-only task manager" that does not extend to cover all the icons at re-.start of plasmashell.

STEPS TO REPRODUCE
1. Create a panel set to:
- position=bottom / alignment=center / width=fit to content
- visibility=auto hide / opacity=translucent / style=floating
2. Add around 10 icons 
3. log out then log in

OBSERVED RESULT
The Panel only covers the right most icon. When entering edit mode the panel adjusts its size to cover all icons.


EXPECTED RESULT
The panel should cover all icons.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.12.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070/PCIe/SSE2

ADDITIONAL INFORMATION
nvidia-dkms: 565.57.01-2
Comment 1 Rob 2024-12-01 12:37:24 UTC
Created attachment 176260 [details]
Desktop showing bottom panel with incorrect width on log in
Comment 2 Rob 2024-12-01 12:38:37 UTC
Created attachment 176261 [details]
Desktop showing bottom panel with correct width
Comment 3 Rob 2024-12-01 12:45:39 UTC
I am seeing similar. My second panel is Icon-only task manager and has the following settings:
Position: Bottom
Alignment: Centre
Width: Fit content
Visibility: Always visible
Opacity: Adaptive
Style: Non-floating

On initial log in, the panel is a fraction of the expected width (see first attachment). Bringing up the Panel Configuration without changing any setting resolves the width to the expected size (see second attachment).
Currently running Plasma 6.2.4, Frameworks 6.8.0, and Qt 6.7.3 on Gentoo. Kernel version is 6.6.58-gentoo-dist, graphics platform is Wayland. AMD processor and graphics card.
Comment 4 Niccolò Venerandi 2024-12-05 17:43:16 UTC

*** This bug has been marked as a duplicate of bug 489086 ***