This is mentioned in the documentation. SVG engine is limited. Gradients and Patterns are not supported. Presumably, the SVG icon that you want to load contains gradients or shaders.
then it is pretty useless then for everything but metro style
I have the same issue. I was excited by the idea of having SVG support fully integrated with the UI components we use. But none of the SVG files we would want to display are rendered correctly. It's not just shading; text overlayed on the graphic appears in the wrong size and the wrong place, and the quality of the rendering is poor. We already use an excellent SVG library for one of these images, the main logo, and will continue to use it as we extend the use of SVG in our applications. The EXE file is even a bit smaller with this library than when TMS mis-renders the image. We might switch later if TMS extend their SVG engine, but as it stands, this is not a feature we can use in our environment. I can see it may have some value for a few simple applications, though.
We aimed for smaller simple toolbar related icons, such as the Office 2019 icons to enhance applications and to target high DPI applications without the need to specify multiple PNG files for various DPI scales. This is/was the initial 1.0 approach. There is a lot to cover and we will continue to enchance the SVG engine in the future.
Thanks for confirming that; I will look forward to hearing more.
Can you send us a project with those SVG files?
I sent a test project with the SVGs to the help address.