App without an icon is misaligned in the “Applications” list
gnome-control-center master, Ubuntu 19.04 beta
- Create (or otherwise acquire) an app that does not yet have an icon.
- Open g-c-c.
- Navigate to “Applications” and scroll to that app.
What you see: The name of that app is out of alignment with all the others.
What you should see: The name is lined up with the others.
This is apparently because the position of the label is dependent on the width of the icon, and the icon isn’t there. A screenshot from December shows a similar problem, where the icon is present but too large, again pushing the label out of alignment.
I don’t know how this works under the hood, but maybe there should be an API for “Please give me the icon of app A at size X”, so that the presentation is consistent wherever the icon is displayed. The API would take care of making the sure the image really is the correct size, and returning a placeholder/generic icon if the app icon is missing or damaged. (In future, it could also apply effects like greying out the icon or overlaying an