Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543910 - x11-themes/xfce-gant-icon-theme - gtk-select-color & gtk-color-picker icons only exist in 128x128
Summary: x11-themes/xfce-gant-icon-theme - gtk-select-color & gtk-color-picker icons o...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-20 14:24 UTC by Grant Edwards
Modified: 2015-04-22 04:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
shell script that attempts to create scaled versions of all icons (scaleicons.sh,648 bytes, application/x-sh)
2015-04-21 20:24 UTC, Grant Edwards
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Edwards 2015-03-20 14:24:00 UTC
xfce-gant-icon-theme 3.9_p6 
xfce 4.10

The gtk-select-color gtk-color-picker icons are only available in 128x128 size.
This causes as app which uses these icons to end up with a grossly distorted 
toolbar.  I had to write a shell script using Image Magick's "convert -resize" utility to create versions of those two icons in the standard sizes (16, 24, 32, 36, 48, 64).

Reproducible: Always

Steps to Reproduce:
1. Install xfce-gant-icon-theme 3.9_p6 (and select gant icon theme)
2. Run Wireshark
3. See the comically huge icon and the 3cm tall toolbar.
Comment 1 Geert Braekmans 2015-04-14 07:38:09 UTC
Could you attach the shell script? I'll see if I can get it in the ebuild.
Comment 2 Grant Edwards 2015-04-21 16:56:42 UTC
I don't seem to have kept the script around, but it looks like I'm
going to need to write a new one, since there are other icons that are
only present in 128x128 as well.

Once I've got a new script working, I'll attach it.
Comment 3 Grant Edwards 2015-04-21 19:55:48 UTC
Today I ran into another case of a huge icon in a toolbar (this time
it was mimetypes/text-plain.png).  So, I took a closer look, and I'm a
little confused.  It looks to me like well over half of the icons are
only present at the 128x128 size.  There are 1024 icons under the
128x128 directory.  The other size directories contain a little over
400 each (it varies from one size to another).

How are these font files supposed to work?  Are the smaller sizes
supposed to be created on-demand at run-time as they are requested by
apps?  If so, I don't see how that could work, since the programs
generating the demand are running as normal users, and the directories
involved are only writable by root.

Should I re-write my script to iterate through all 1000+ icons and
generate smaller versions for the 600+ that only exist in the 128x128
size?
Comment 4 Grant Edwards 2015-04-21 20:24:50 UTC
Created attachment 401764 [details]
shell script that attempts to create scaled versions of all icons

Here's the script I've tried.  It created about 6000 missing .png files at various sizes that were only available as 128x128.

But, things are still broken.  There are still 128x128 icons showing up in toolbars.  I'm giving up and switching back to gnome icons.
Comment 5 Denis Dupeyron (RETIRED) gentoo-dev 2015-04-22 04:13:48 UTC
I have just pushed x11-themes/elementary-xfce-icon-theme to the portage tree. Try that and see if you like it. I do, and I've been using it from my overlay for quite a while.