There’s a closed thread about App Indicator force-resizing the panel:
And this is a behavior I’m still observing on 19.10. For any panel size below 37px, App Indicator causes the panel to “grow” although windows don’t know it… And consequently, the panel overlaps the top of windows. The well-known behavior of applets with a fixed size on Budgie panel.
According to the thread linked above, icon size in App Indicator is 22px which is small enough… but then comes extra padding. Normally this should be controlled by theme settings. However, I have been unable to find any App Indicator-related lines in gtk.css from Pocillo or Materia.
Short of an automated padding adjustment (depending on panel size settings), what would be the entry to set padding size for App Indicator in gtk.css?
Yes, exactly. This is a behavior I’ve observed for some applets… they force the panel to a given size that’s not “known” by windows. It’s even easier to see with panel transparency on (you truly see the window behind the panel).
Normally this can be fixed on a case-by-case basis by editing the size/padding of culprit applets in gtk.css. Workspace Switcher, for instance, can be “cured” this way.
So I found adding this to gtk.css removes the padding and solves the issue (at least for a 29px panel; for very small panels, you may find yourself below the minimal icon size for App Indicator, in which case removing the padding won’t be enough):
Any potential unintended side effects I should be wary of?
There aren’t many additional details to be shared here… Just add those lines to your ~/.config/gtk-3.0/gtk.css, or the gtk.css of your custom theme. I simply found this .budgie-menubar entry while browsing App Indicator’s code, and figured out it might be involved in the excess padding.
I haven’t noticed any oddities so far, but there again I haven’t done much testing.
Besides: the same kind of fix can be applied to the Workspace Switcher, which also causes the overlapping panel glitch, and can be put on a diet in a similar fashion: