My app has 100s of svgs that need to be displayed. The need to be converted to Image and then image processing functions called upon them. This is pretty slow, so I’d like to do it in a background thread.
I realise G-Mon can speak for himself, but my guess is that he’s hitting JUCE_ASSERT_MESSAGE_MANAGER_IS_LOCKED_OR_OFFSCREEN or JUCE_ASSERT_MESSAGE_MANAGER_IS_LOCKED (although it’s probably both that will be hit!).
I have always found it curious that the Juce SVG-facilities are tied to the Drawable class, is there some good reason that is so? @jules One can’t even find anything in the documentation class index by searching for SVG, since it’s hidden in the Drawable class.
A smooth transition could be moving the Drawable classes into classes, that don’t inherit Component and create a Component wrapper around it for backward compatibility… Sure it is extra work, but given the number of times you regretted it, probably worth it…