addToDesktop flicker


#1

I have a JUCE desktop application in which I need to drag components off their parent component, on to the desktop, and then place them in a new parent component. Everything is working except that I get a quick flicker when addToDesktop is called. By flicker I mean that the entire component (or perhaps Cocoa window created for the component?) flashes white.

I notice the component that is dragged to the desktop in the JUCE widgets demo is not opaque and there is no flicker. I can’t find any differences between the demo’s implementation and my own- what am I missing?

I’m using JUCE 2.0.31 and OSX 10.8.3.