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

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Thu Sep 1 11:26:03 UTC 2016


Hi Semyon,

This is intended. Sure, it will(the issue is filed against this test 
case, so it is the first test case I've checked).


On 9/1/16 10:45 AM, Semyon Sadetsky wrote:
> Hi Alexander,
>
> FlashWindow() flashes window only once. Before the fix it was 3 times. 
> Will it be ok for the iconified window state?
>
> --Semyon
>
>
> 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().
>>
>

-- 
Thanks,
Alexander.



More information about the awt-dev mailing list