-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GWL: Set reasonable min width for panel item ... #12339
Conversation
If the application icon is missing there should be a placeholder/missing-image icon, not an empty space - I don't think this is a good way to address that issue. |
The problem is that |
Ah, it seems that both |
I think since the example app/theme (breeze/alacarte) are defined and have a matching desktop file (so are not window-backed), we're calling That gets the icon info from the GAppInfo (the desktop file representation) and never check if it's available before returning a useless StIcon. This could be fixed easily in StIcon (checking the theme for the icon before trying to use it) but we'd lose the ability to have different context-dependent fallback icons (default app icon for gwl, missing image icon in other places, etc...). It makes the most sense to check this as part of I don't have a good answer yet lol I was just digging a bit. |
I think I have a solution. On line https://github.com/linuxmint/cinnamon/blob/master/src/cinnamon-app.c#L188 instead of I'm not sure how to do it in C but in JS I can use |
Actually, this only solves the problem for In
also returns an invalid gicon. |
Definitely a good issue to look into but the PR itself should be closed. When the screen is too small to accommodate too many apps, the grouped window list icons get sliced/squashed: It's not pretty but it means we see all apps. Setting a minsize breaks that, it prevents the slicing/squashing so when there's no more space, we don't see the icon for newly added windows. |
... in case application icon is missing.
Fixes: #12307