When running FreeCAD or Kdevelop using 24*24 Breeze iconsize, the following errormessages are displayed on std output, when the icons are accessed. Could not resolve property : linearGradient4538 Could not resolve property : linearGradient4588 Could not resolve property : linearGradient4554 Could not resolve property : linearGradient4572 Could not resolve property : linearGradient4532 Could not resolve property : linearGradient4582 Could not resolve property : linearGradient4566 Could not resolve property : linearGradient4548 Could not resolve property : linearGradient4532 Could not resolve property : linearGradient4582 Could not resolve property : linearGradient4566 Could not resolve property : linearGradient4548 Could not resolve property : linearGradient4532 Could not resolve property : linearGradient4582 Could not resolve property : linearGradient4566 Could not resolve property : linearGradient4548 My investigation shows me that there are undefined gradients and unused geometry in some SVG icon files. Reproducible: Always Steps to Reproduce: 1. Start FreeCAD or Kdevelop in konsole and watch for error output 2. 3. Actual Results: Error output Could not resolve property : linearGradient4538 Could not resolve property : linearGradient4588 Could not resolve property : linearGradient4554 Could not resolve property : linearGradient4572 Could not resolve property : linearGradient4532 Could not resolve property : linearGradient4582 Could not resolve property : linearGradient4566 Could not resolve property : linearGradient4548 Could not resolve property : linearGradient4532 Could not resolve property : linearGradient4582 Could not resolve property : linearGradient4566 Could not resolve property : linearGradient4548 Could not resolve property : linearGradient4532 Could not resolve property : linearGradient4582 Could not resolve property : linearGradient4566 Could not resolve property : linearGradient4548 Expected Results: No errors
Hi I'm not sure what happens and maybe you can add the icon names with the gradient's but 1. 24px icons are ONLY for GTK applications 2. I start already a svg cleaning session for all files to reduce the file size and to remove unused code. but this will take a while cause I have to do it manually to guaranty the stylesheed stuff. If you would like to help, you are very welcome.
Created attachment 98177 [details] Search result of first gradient in list on 24*24 icon folder
Hi, Glad to hear that cleanup is ongoing, I know there are some software on git hub that can automate the process. https://github.com/RazrFalcon/SVGCleaner But I do not know how these svg Icons work internally, and what kind of functionality of the svg format you are using. From what i can tell if the gradient is only found one time in the svg file, the gradient is defined (i guess this is no problem, other than file size) or used and not defined witch makes qt generate errors. Attached is the result of a search for the first gradient in the list.
It seams like this has been solved. I can not seam to find the change that fixed it. But I do not see the problem anymore when using FreeCAD Thanks:-)
you are welcome, I fixed the 16px, 22px action icons and for 24px I'm working on it but it took some time. Nice that you can see the improvement