pop-os / cosmic-panel

WIP
GNU General Public License v3.0
114 stars 26 forks source link

Applets are jumping around (possibly related to overflow priority or something?) #296

Open ryanabx opened 3 days ago

ryanabx commented 3 days ago

Version:

cosmic-panel-1.0.0~alpha.3^git20241115.bccf255-1.fc41.x86_64
cosmic-applets-1.0.0~alpha.3^git20241111.09062c1-1.fc41.x86_64

....I don't even know how to describe this issue well, so here's a video:

https://github.com/user-attachments/assets/c691eaaa-0871-4f8c-a032-8455fbb49ef0

To reproduce

My panel config: https://github.com/ryanabx/ryanabx-containers/tree/main/extra/cosmOS_overlay/usr/share/cosmic/com.system76.CosmicPanel.Panel/v1

I have a lot of pinned apps, and a few non pinned apps open.

I am at 150% scaling

ryanabx commented 3 days ago

It becomes an issue when you open a lot of apps it seems, which implies to me that the app list overflow menu has something to do with it

wash2 commented 2 days ago

Ya, overflow handling can be improved. I think situations like this could probably be avoided if applets like app tray set their min and max size, and the panel uses these hints for layout.

ryanabx commented 2 days ago

So app tray is currently not doing that?

wash2 commented 2 days ago

So app tray is currently not doing that?

No I don't believe so. This is an improvement that has been discussed before, but I've not implemented it yet.