Maximise


#1

just noticed that my app, which is a DocumentWindow that gets setFullScreened, buggers off to the taskbar if I press the maximise button. And there it stays! clicking it does nowt and there is no “restore” available on the right click menu.

am I doing something wonky?


#2

Weird… Does the juce demo work ok?


#3

no. the demo is fine.

I solved it by slapping a centreWithSize right before the setFullScreen


#4

Must have been because it had a size of (0, 0), then?


#5

Probably, but you’d think windys would let you “restore” back to full screen from task bar? or was it in some sort of limbo zero-sized but not officially minimised state?


#6

Not sure, really, but having windows of zero size isn’t a great idea.


#7