RFR: 8296972: [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
Harshitha Onkar
honkar at openjdk.org
Wed Jun 7 21:46:48 UTC 2023
On Tue, 30 May 2023 18:41:38 GMT, Alisen Chung <achung at openjdk.org> wrote:
> added displayChanged call to CPlatformWindow when frame first needs to deiconify or unmaximize
> All client tests passed after change
Also noticed this comment in setWindowState() of [CPlatformWindow.java#L1011 ](https://github.com/openjdk/jdk/blob/ea41907396a70933c4f6e6b0f247f7ba589a3a23/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java#L1011)
_// NOTE: the SWP.windowState field gets updated to the newWindowState
// value when the native notification comes to us_
May be waiting untill the required native notification using an event-driven wait might work here?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14226#issuecomment-1581550235
More information about the client-libs-dev
mailing list