I think there's a bug in the ProxyElement class ....
There seems to be a bug in lines 275 and 296 of the ProxyElement class. The events that are dispatched to the proxied element seem to be the wrong way round for the functions that call them. When I changed these, the OSMF player gave the expected behaviour.
Before this, calling addTrait would not remove the Trait from the proxied element (likewise the addTrait method).
Anyone else have any thoughts?
Which section should I file the bug under?
Whichever section corresponds to your use case. If you're not sure, just pick any section, our QE team can adjust it if necessary. Thanks!