Bug 486259

Summary: icons-only task manager in
Product: [Plasma] plasmashell Reporter: peter.offermans
Component: Task Manager and Icons-Only Task ManagerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: duha.bugs, qydwhotmail
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=487310
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screencast showing how to reproduce problem, then log out and log in
result after log out and log in again
stretched panel in Garuda
stretched panel in Manjaro

Description peter.offermans 2024-04-28 18:10:27 UTC
SUMMARY
icons-only task manager causes left side panel to stretch after login

STEPS TO REPRODUCE
1. create empty panel with position: left, height: fit content
2. add icons-only task manager to empty panel
3. logout and login

OBSERVED RESULT
after login the panel height is stretched to full screen 

EXPECTED RESULT
the panel height should fit the content of icons-only task manager

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version:  6.1.0
Qt Version:  6.7.0

ADDITIONAL INFORMATION
it does not happen for right panel
work around is to use custom height instead of fit content
Comment 1 peter.offermans 2024-04-28 18:19:19 UTC
(In reply to peter.offermans from comment #0)
> SUMMARY
> icons-only task manager causes left side panel to stretch after login
> 
> STEPS TO REPRODUCE
> 1. create empty panel with position: left, height: fit content
> 2. add icons-only task manager to empty panel
> 3. logout and login
> 
> OBSERVED RESULT
> after login the panel height is stretched to full screen 
> 
> EXPECTED RESULT
> the panel height should fit the content of icons-only task manager
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: KDE Neon 6.0
> KDE Plasma Version: 6.0.4
> KDE Frameworks Version:  6.1.0
> Qt Version:  6.7.0
> 
> ADDITIONAL INFORMATION
> it does not happen for right panel
> work around is to use custom height instead of fit content

also happens for right panel
Comment 2 duha.bugs 2024-04-29 18:13:19 UTC
I cannot reproduce on arch+wayland.

Do you use X11? Anything else you changed for the panel settings?
Comment 3 peter.offermans 2024-04-29 21:03:37 UTC
Created attachment 169014 [details]
screencast showing how to reproduce problem, then log out and log in
Comment 4 peter.offermans 2024-04-29 21:04:21 UTC
Created attachment 169015 [details]
result after log out and log in again
Comment 5 peter.offermans 2024-04-29 21:07:49 UTC
(In reply to peter.offermans from comment #0)
> SUMMARY
> icons-only task manager causes left side panel to stretch after login
> 
> STEPS TO REPRODUCE
> 1. create empty panel with position: left, height: fit content
> 2. add icons-only task manager to empty panel
> 3. logout and login
> 
> OBSERVED RESULT
> after login the panel height is stretched to full screen 
> 
> EXPECTED RESULT
> the panel height should fit the content of icons-only task manager
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: KDE Neon 6.0
> KDE Plasma Version: 6.0.4
> KDE Frameworks Version:  6.1.0
> Qt Version:  6.7.0
> 
> ADDITIONAL INFORMATION
> it does not happen for right panel
> work around is to use custom height instead of fit content

To reproduce, one extra step is needed: change panel width to e.g. 38 or more.
The attached webm screencasts show how to reproduce on a fresh KDE Neon live iso (neon-user-20240425-0716.iso)
Comment 6 peter.offermans 2024-05-19 18:12:49 UTC
I was able to reproduce this using the live iso of Garuda (garuda-dr460nized-linux-zen-240428) and Manjaro (manjaro-kde-24.0-240513-linux69) both running plasma 6.
* bug appears only under wayland
* in the live session, first logout from the default X11 session and then relogin using wayland 
* for garuda: move the existing bottom panel to the left, and fit to content, I used on-floating; log out and relogin; now the panel appears stretched
* for manjaro: add an empty panel on the left, fit to content, width 38, I used non-floating, add icon-only task manager; log out and relogin; now the panel appears stretched; close the manjaro welcome window; now the panel changes to expected height
Comment 7 peter.offermans 2024-05-19 18:20:13 UTC
Created attachment 169626 [details]
stretched panel in Garuda
Comment 8 peter.offermans 2024-05-19 18:21:10 UTC
Created attachment 169627 [details]
stretched panel in Manjaro
Comment 9 peter.offermans 2024-06-01 20:58:46 UTC
same bug as reported here: https://bugs.kde.org/show_bug.cgi?id=487310
seems to be fixed in plasma 6.2 developer