Maximize a ComponentPeer that uses the native title bar
Attempt to move the window by dragging in the title bar
Result:
Window moves, but keeps its size. It does not Restore (i.e. un-maximize). Click on the maximize button while the window is in this state does nothing.
Correct Behavior:
When a maximized window is dragged via the title bar, it should Restore at the beginning of the drag. All Windows 7 operating system windows behave this way (for example, Explorer windows).
yeah i noticed some weird stuff happening with the native titlebar. Whenever i move the windows to my second monitor, then maximize it, the same behavior happens that’s describe above.
Also the getWindowStateAsString still does not work, i mean when i maximize the window on the second screen after restoring the state later on it’s maximized on the first screen. However is it’s not maximized then the position is saved correctly (no matter witch screen)
Ok, I just tried this in windows 7 with the juce demo, but it does restore its size, and behaves just like any other Win7 window. Any idea what you might be doing differently to me?