I am having a problem I don't how to track down. I am working on a mixer and have 3 or 4 windows open simultaneously. One of the windows is a file media player (basically copied from the juce demo). It works great, but if I drag th window over my other windows it leaves fragments on the window below. The only way I can get them to repaint is to drag a different window over these and it acts like they an erasure.
The behavior only happens if the player is playing. If I drag it while paused, it works fine. I suspect it has something to do with the fact that the windows is being panted by the scrolling graph while dragging so the paints are not fast enough to keep up with the moving windows. I tried to implent a realtime fft and this does the same thing if the display is changing while I drag the window.
Any ideas about why this happens and how I can resolve it?
Mark