Created attachment 270685 [details]
I have just emerged gnome-light earlier in the day, and then installed the Tango icon set, with x11-themes/tango-icon-theme-0.8.90 and x11-themes/tango-icon-theme-extras-0.1.0-r1.
However, I noticed that the icons were in different sizes in my GNOME menu. When editing the menu, some icons are shown in 16×16 which are expected, while some are in around 22×22. Also, the icon sizes in GNOME panel and toolbars were significantly larger. Other icon themes, like the GNOME default one, don't have this issue.
Take a look at the screenshot:
* The icons in gnome-panel are larger than expected.
* In the "Edit Menus" dialog, icons for "Take Screenshot" and "System" are shown in normal size, while others are larger.
* The icons in Firefox toolbar are larger than expected.
Don't know whether it's an upstream issue but I have got tango correctly in the past.
Everything seems to be in order. See for example,
$ find /usr/share/icons/Tango -name '*.png' |xargs file |grep PNG
Icons are properly sized in proper directories with the exception of animated icons.
So gnome problem then, not showing icons properly
Are you seeing that different sizes on gnome menu or only when editing it?
(In reply to comment #1)
> Everything seems to be in order. See for example,
> $ find /usr/share/icons/Tango -name '*.png' |xargs file |grep PNG
> Icons are properly sized in proper directories with the exception of animated
> So gnome problem then, not showing icons properly
Yes, the images are in appropriate folders, but they are not applied correctly.
I think for the larger icons in the screenshot, scalable ones are used.
I compared index.theme of Tango and the one of GNOME, found that the MinSize and Size of scalable icons are different in Tango and GNOME: MinSize 32, and Size 48 for Tango; while 16 and 8 respectively for GNOME.
If I changed the MinSize and Size in index.theme for Tango to 16/8, the icon would have a correct size everywhere, however, they are still using the scalable ones as they have some shading which make them look more shiny than the non-scalable 16×16 ones. So I suppose it's the scalable icons getting used for Tango.
(In reply to comment #2)
> Are you seeing that different sizes on gnome menu or only when editing it?
Only when editing the size difference is exposed.
But when navigating the GNOME menu it's still clear that where Tango use large icons in edit menu, the icons are only large (scalable) icons scaled to smaller. (See comment #3)
Also I have noticed that in index.theme some folders not existing in x11-themes/tango-icon-theme-0.8.90 are listed: only 16x16, 22x22, 32x32 are present, but 24x24, 48x48, 64x64, 72x72, 96x96, 128x128 are also listed in Directories.
Maybe this matters?
Well, emerging with the png use flag solved the issue for me… I'm not sure whether this is a bug?
This is an old upstream problem, please report it there: bugzilla.gnome.org
But as the screenshot shows, Firefox also fails to show the icons in proper size so I guess it's not a problem with only the menu editor?
I don't know how that svg icons are supposed to be shown by firefox/gmenu-simple-editor and others :(, maybe tango maintainers know more
Will handle this directly on upstream