<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 11:29:53 UTC 2016


I thought that the native Windows behavior is flashing it several times. 
But probably it is not true.

Then the fix looks good.

--Semyon


On 01.09.2016 14:26, Alexander Zvegintsev wrote:
> 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().
>>>
>>
>



More information about the awt-dev mailing list