linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.49k stars 730 forks source link

Grouped window list item become a difficult-to-see thin bar if the application specifies an unavailable icon #12307

Open billyswong opened 1 month ago

billyswong commented 1 month ago

Distribution

Mint 21.3 Cinnamon

Package version

cinnamon 6.0.4

Graphics hardware in use

No response

Frequency

Always

Bug description

It is a bug taken from https://forums.linuxmint.com/viewtopic.php?t=425061 If an application specifies an icon that doesn't exist in the icon theme, no placeholder icon is given, making the application become a thin almost invisible stripe within the grouped window list.

Steps to reproduce

  1. Select "Breeze" as the icon theme
  2. Open Menu Editor via right click menu icon > Configure > Menu > Open the menu editor

Expected behavior

Although Menu Editor specifies menu-editor to be its icon and "Breeze" as a KDE icon theme doesn't have such icon, the grouped window list should have put in a placeholder icon there to balloon / fill up the window entry, not leaving it as a extremely narrow stripe that's hard to see and hard to click.

Additional information

No response

fredcw commented 1 month ago

The icon needed is called alacarte. A default icon should be added to cinnamon package. If someone cares to choose one, I guess we can add it here: https://github.com/linuxmint/cinnamon/tree/master/files/usr/share/icons/hicolor/scalable/apps

I haven't looked into adding a placeholder icon in Grouped Window List but window-list@cinnamon.org applet has the same problem. Cassia Window List and CobiWindowList applets also have missing icons but a wider gap is used.

Since an app not having a default icon is a bug in itself and also extremely rare, I would say that adding an alacarte icon to cinnamon would be the easiest solution.

billyswong commented 1 month ago

Thank you for correction in the icon name in use. I found the Breeze icon set contains an icon called preferences-desktop-menu-edit. Somebody ought to patch the alacarte to link to preferences-desktop-menu-edit in Breeze icon set.