When using native title bar on Mac, the minimiseButtonPressed/maximiseButtonPressed callback aren’t called…
If its not meant to be called using native title bar, is there any way to detect minimizing/maximizing?
EDIT:
Digging a bit into the JUCE implementation i see that JUCE is missing some callbacks indeed. Is has “windowShouldClose”, but not “windowWillMinaturize”.
Not sure if it’s actually possible on all platforms to intercept all those events, but yes, the DocumentWindow only attempts to call those methods when using the juce-based buttons, not the native behaviours