Created attachment 153854 [details] The Activities plasmoids icon with wrong dimensions and position in a vertical panel. SUMMARY The Activities plasmoid (the one which only shows an icon and activity name and toggles the activity switcher on click) does not work well in vertical panels. The icon is too large and offset to the right (at least on a left panel). It looks fine on a horizontal panel. STEPS TO REPRODUCE 1. Create a panel and drag it to the left edge. 2. Add an Activities widget. OBSERVED RESULT The icon is too large and offset to the right, see the attachment. EXPECTED RESULT The icon should be smaller and center aligned as all other elements are. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7 Kernel Version: 6.0.8-1-MANJARO (64-bit) Graphics Platform: X11
*** Bug 463934 has been marked as a duplicate of this bug. ***
Git commit a033f5349394e7a59b33059bf880c33749413ebb by Nate Graham, on behalf of Niccolò Venerandi. Committed on 01/02/2023 at 16:07. Pushed by ngraham into branch 'master'. applets/showActivityManager: Fix icon alignment and size in vertical panels Previous code assumed that the widget lives in a horizontal panel, taking the height as the reference size for the icon and always trying to display the label; now, it scales depending on what's smaller between height and width, and only displays the label in a horizontal panel. FIXED-IN: 5.27 M +3 -2 applets/showActivityManager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/a033f5349394e7a59b33059bf880c33749413ebb
Git commit cd681bd9fbe7831ce6e4a069b1a989cd222898ca by Nate Graham, on behalf of Niccolò Venerandi. Committed on 01/02/2023 at 16:08. Pushed by ngraham into branch 'Plasma/5.27'. applets/showActivityManager: Fix icon alignment and size in vertical panels Previous code assumed that the widget lives in a horizontal panel, taking the height as the reference size for the icon and always trying to display the label; now, it scales depending on what's smaller between height and width, and only displays the label in a horizontal panel. FIXED-IN: 5.27 (cherry picked from commit a033f5349394e7a59b33059bf880c33749413ebb) M +3 -2 applets/showActivityManager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/cd681bd9fbe7831ce6e4a069b1a989cd222898ca