Closed magpie514 closed 3 years ago
is this icon looks same in yad-icon-browser? and what the output of yad-tools --icon --size=16 <icon-name>
?
Apparently no, it shows normally in the icon browser, and output of yad-tools is "$HOME/.local/share/icons/Papirus-Dark/16x16/categories/draw.io.svg", which seems normal.
try to add --icon-size=16 --keep-icon-size
options
and may you send me this icon by e-mail or attach it here?
No change with those extra options, it seems.
Here is the icon in question: draw.io.zip
thank you
please check latest git
Strange, it's still doing it, with the extra options or without.
Building went fine and all files are proper.
Looking at it closer, that icon is installed in $HOME/.local/share, since the tool is an appimage instead of a proper install. That seems to reflect in the icon name:
Could this difference be the culprit?
yad forced to scale image only if icon specified by name. a full path to file means that image shows without changes
So the problem would be caused by gio
giving a filename instead of an icon name?
EDIT: Well, I fixed this specific instance by removing my local icon. Apparently my icon theme added an icon for this application, so now I don't need to point to the icon file anymore for that mimetype and my script just works.
I'm wondering if this was caused by some conflict between the manually added icon and the icon theme adding its own, forcing gio
to be specific and changing the result in yad when it started returning a file path instead.
Your last message gives credence to that theory, so I'll close this and assume the issue was more of a general system mishap.
Sorry for the misunderstanding and thank you for your time, regardless.
I'm using yad (built locally from https://github.com/v1cont/yad/commit/6b2d263d4df9408e1f99b5fc1b0834dca8f48534 , although the issue started a few days ago) in Ubuntu 20.10 64b. I have a little script to have a list of template files, not unlike the create new file menus in Explorer. But a few days ago this...oddity started appearing.
The anomalously large icon was fine by the start of the month, and I didn't change the script for a while, so I wonder if this is some sort of regression.
Please let me know if any extra information is required.
The code used to produce this window is as follows: