Something strange happened to the z-order of document windows with one of the latest checkins.
My app initially opens a DocumentWindow, then, from a menu in that window, I can open other DocumentWindows.
Under some conditions, the 2nd window will be placed behind the 1st even if it has the focus, and it seems I can’t change that. As I’m typing this, the 1st window is in front of my Firefox browser.
I don’t have a C++ sample ready, I observed the effect in jucePILS and it seems consistent, but I’ll try to produce one if needed, though I’m not sure of exactly what triggers the misbehaviour.