<AWT Dev> [9] Review request 8155083: On Windows, usage of USER_ATTENTION_WINDOW depends on state setting order

Semyon Sadetsky semyon.sadetsky at oracle.com
Thu Sep 1 07:45:06 UTC 2016

Hi Alexander,

FlashWindow() flashes window only once. Before the fix it was 3 times. 
Will it be ok for the iconified window state?


On 26.08.2016 05:53, Alexander Zvegintsev wrote:
> Hello,
> please review the fix
> http://cr.openjdk.java.net/~azvegint/jdk/9/8155083/00/
> for the issue
> https://bugs.openjdk.java.net/browse/JDK-8155083
> With current implementation we are showing initially iconified window 
> with SW_SHOWMINIMIZED flag, it activates the window, FlashWindowEx 
> doesn't work with active window.
> We could use SW_SHOWMINNOACTIVE instead, but there is another issue: 
> if app has more than one window it doesn't work either.
> The fix it to use FlashWindow().

More information about the awt-dev mailing list