Limited number of rows for systray icons

Instead of waiting on the Plasma 5.20 release to run a fresh install of EOS I decided to go ahead and install EOS and install the Plasma 5.20 beta. Almost everything I want installed using yay and flatpak, mostly tweaked and really looking good. The only thing I can’t seem to find is a workaround for the systray Icons. As you can see from the image I have two rows, but with the width / height I have the panel there should be three rows. I would prefer three rows so items on the right don’t get pushed too far left. Has anyone else tested out the beta for Plasma and maybe know of a fix for the systray? Thanks

Systray Icons Wrong

Bug report created.

https://bugs.kde.org/show_bug.cgi?id=427251

Anyone running the 5.20 beta that wants the fix now here are the instructions:

you can test this fix without compiling Plasma from sources, just modify:

/usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml
and change line:

readonly property int rowsOrColumns: autoSize || cellThickness <= smallIconSize * 2 ? 1 : 2

To

readonly property int rowsOrColumns: autoSize ? 1 : Math.max(1, Math.floor(cellThickness / smallIconSize))

Screenshot_20201002_152006

1 Like