@Christoph-Hart I disabled everything in my plugin other than the main declarations, paths, and LAF.
I even disabled fonts, synth defer callbacks. I have nothing else to disable.
There are 2 issues.
One has something to do with one of my scripts, resulting in onNoteOn not working and the expanding panel not expanding. I'll get to that in a little bit.
The second issue has to do with Pro Tools not displaying anything that is painted using paths. It displays simple elements created using the paint routine but no SVG paths. My previous version of plugin didn't use any paths, hence the reason why it displays ok in PT.
When I use your test script to repaint everything, after a few seconds, all elements show up. So, my conclusion is that there is a bug with painting SVG paths in PT on init.
Can you replicate this issue on your end?