MultiDocumentPanel feature request


#1

Some way to find out when a document window (when in floating windows mode) is maximized, to find out when the layout changes automagicly (useFullscreenWhenOneDocument()). I need to update my layout component to the new layout. Thought it could be useful, maybe a simple changeBroadcaster could be added to the class.


#2

Your windows will get a resized() call, and in there you could check isMaximised() to see if it’s now maximised. Isn’t that enough?


#3

well yes it’s just hard in my case, but i’ll use that no problem.

i noticed on occasional leak i think someone noticed that on Mac, but i’m getting something similar on Win7 x64 with native x64 builds:

The thread 'Juce Timer' (0x3b8) has exited with code 0 (0x0).
*** Leaked objects detected: 1 instance(s) of class class juce::Message
Ctrlr.dll has triggered a breakpoint
Detected memory leaks!
Dumping objects ->
{33018} normal block at 0x039BAB00, 20 bytes long.
 Data: <class juce::Mess> 63 6C 61 73 73 20 6A 75 63 65 3A 3A 4D 65 73 73 
{33017} normal block at 0x0089E4C8, 8 bytes long.
 Data: <        > 00 AB 9B 03 00 00 00 00 
{1842} normal block at 0x0392FE28, 40 bytes long.
 Data: <@ !             > 40 CE 21 01 CD CD CD CD 01 00 00 00 CD CD CD CD 
Object dump complete.

#4

That just looks like a message that was left in the queue when the app ended. Not a big deal, though I’ve never seen it myself, so you might want to check that you’re not posting a message while the app is shutting down.