Created attachment 191219 [details] Video footage of the bug SUMMARY Graphics work only as intended at panel height = 38. It clips out of Border at smaller heights and sticks to the top at larger heights (Check attachment for video footage of the bug) STEPS TO REPRODUCE 1. Enable Activities 2. Enable the Widget "Activity Bar" 3. Change Panel Height OBSERVED RESULT Widget clips out of panel or sticks to the top EXPECTED RESULT Widget resizes to fit the panel at all heights SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.6.2 KDE Frameworks Version: 6.24.0 Qt Version: 6.10.2 Kernel Version: 6.19.8-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® N100 Memory: 16 GiB of RAM (15.4 GiB usable) Graphics Processor: Intel® Graphics
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6466
Git commit bbd65d8c4f9a59ca5a2063c2c2119479e83071c7 by Marco Martin. Committed on 07/04/2026 at 14:14. Pushed by mart into branch 'master'. applets/activitybar: fix layout on narrow panels ### Reason for the change The PlasmaComponents TabBar bases its size hints on top of margins coming from the Svg theme, and this is fine when is the tabbar that specifies the size of its layout, such as in kickoff or in the calendar, where it has space to become as tall as it wants. activitybar which is in the panel it might be constrained to an height much smaller that that and is the panel dictating its height, not the other way around. In this case the layouting breaks in 2 paces: the top/bottom padding needs to become much smaller, otherwise the text gets pushed out og the way. the other thing pushing the text out of the way is the internal layouting code of the TabBar template which attempts to center vertically things based on a contentHeight which might not be correct, since we use a ListView instead of a simple layout for the buttons ### Test plan Now the panel can be resize to be very narrow and the text will always be properly centered ### Screenshots or screen recordings | Before | After | | ------ | ----- | | {width=192 height=39} | {width=184 height=47} | ### Bugs fixed M +8 -0 applets/activitybar/qml/main.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/bbd65d8c4f9a59ca5a2063c2c2119479e83071c7
Git commit b94926f6c4ff7e6f2398876bcf23ce74cc5cc44e by Marco Martin. Committed on 07/04/2026 at 14:14. Pushed by mart into branch 'Plasma/6.6'. applets/activitybar: fix layout on narrow panels ### Reason for the change The PlasmaComponents TabBar bases its size hints on top of margins coming from the Svg theme, and this is fine when is the tabbar that specifies the size of its layout, such as in kickoff or in the calendar, where it has space to become as tall as it wants. activitybar which is in the panel it might be constrained to an height much smaller that that and is the panel dictating its height, not the other way around. In this case the layouting breaks in 2 paces: the top/bottom padding needs to become much smaller, otherwise the text gets pushed out og the way. the other thing pushing the text out of the way is the internal layouting code of the TabBar template which attempts to center vertically things based on a contentHeight which might not be correct, since we use a ListView instead of a simple layout for the buttons ### Test plan Now the panel can be resize to be very narrow and the text will always be properly centered ### Screenshots or screen recordings | Before | After | | ------ | ----- | | {width=192 height=39} | {width=184 height=47} | ### Bugs fixed (cherry picked from commit bbd65d8c4f9a59ca5a2063c2c2119479e83071c7) 52051b47 applets/activitybar: fix layout on narrow panels Co-authored-by: Marco Martin <notmart@gmail.com> M +8 -0 applets/activitybar/qml/main.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/b94926f6c4ff7e6f2398876bcf23ce74cc5cc44e