Bug 487361

Summary: Icon-only task manager starts up with empty space on the right
Product: [Plasma] plasmashell Reporter: boite.pour.spam
Component: Task Manager and Icons-Only Task ManagerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: akselmo, qydwhotmail
Priority: NOR    
Version: 6.0.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Empty place shown on the icon only task manager upon startup

Description boite.pour.spam 2024-05-22 09:22:54 UTC
Created attachment 169698 [details]
Empty place shown on the icon only task manager upon startup

SUMMARY
Using icons only task manager as a substitute of Latte dock, doesn't work very well upon session login. 
It display an empty space on the right for an icon on login. If I enter edition mode, it resizes automatically to drop this useless space, but it's a pain to do so every time I log in.

STEPS TO REPRODUCE
1. Create an icon-only task manager (I've set it to 64px high, but left all other options unchanged). I've centered on the bottom, hide automatically, fit to content.
2. Close edit mode
3. Remove all icons and pin the ones you need once you've launched the applications
4. Disconnect and reconnect. See picture attached 

OBSERVED RESULT
See attachment

EXPECTED RESULT
The dock should fit the content

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.5.13-7-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i7-10875H CPU @ 2.30GHz
Memory: 31.1 Gio of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Dell Inc.
Product Name: Precision 5550

ADDITIONAL INFORMATION
Comment 1 Akseli Lahtinen 2024-05-22 15:08:40 UTC
Marking as duplicate, but just wanted to let you know I am working on a possible fix: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4338

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