pop-os / cosmic-applets

WIP applets for cosmic-panel
GNU General Public License v3.0
199 stars 72 forks source link

Appindicator icons overlap normal applet icons in overflow #535

Open hojjatabdollahi opened 1 month ago

hojjatabdollahi commented 1 month ago

image

wash2 commented 1 month ago

The panel should probably clip the icons when rendering. I'll push a fix for that soon. It might also be better to make app indicators applet shrink instead of move when there is overflow.

wash2 commented 1 month ago

The latest version of the panel should now crop applets in the overflow menu. There might still be a better solution for this though that involves shrinking the indicator icon list instead.

hojjatabdollahi commented 1 month ago

Thank you. This fixes the issue of overlapping. But only 1 icon from all the icons in the appindicator is visible now (discord and slack and two more apps are not visible anymore).

Also why doesn't the App Tray use the empty space available above it instead of switching to overflow right away? (the space between the workspace numbers and the chrome icon). image

wash2 commented 1 month ago

It depends on your configuration, and it looks like you have the panel set to extend to the edges, with the app tray in the center. With the latest designs, the center section always stays centered, and grows only when there is space on both sides. If you want, you could try changing the config so that it does not expand, or moving the app tray to the left section. In either case, it will be allowed to expand into adjacent open space. @maria-komarova and I discussed this recently too.

This fixes the issue of overlapping. But only 1 icon from all the icons in the appindicator is visible now (discord and slack and two more apps are not visible anymore).

Ya, it should probably shrink, and create an overflow menu instead of being moved. It is definitely less functional after being moved as it is. In the meantime, I guess it could be set to have a priority that makes it moved after other applets.