<Swing Dev> [10] Review request for 8188081: Text selection does not clear after focus is lost

Semyon Sadetsky semyon.sadetsky at oracle.com
Mon Oct 23 19:50:47 UTC 2017


Hi Prasanta,

I have created JCK-7308916. The year I will change inline, if you don't 
mind.

--Semyon


On 10/23/2017 12:03 AM, Prasanta Sadhukhan wrote:
> Hi Semyon,
>
> looks good to me. BTW, Test copyright should update the year.
> Since, we are reverting 8025082, shouldn't we re(clone/open) the bug 
> and move it to JCK project so that it does not get raised again?
>
> Regards
> Prasanta
> On 10/20/2017 12:06 AM, Semyon Sadetsky wrote:
>> Hello,
>>
>> Please review fix for JDK10 (the changes involve AWT and Swing):
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8188081
>>
>> webrev: http://cr.openjdk.java.net/~ssadetsky/8188081/webrev.00
>>
>> The 8025082 fix is reverted. Swing text selection visibility behavior 
>> is changed according to the next rules:
>>
>> - There may be only one visible selection per window.
>>
>> - If the input focus moved to another window selection remains 
>> visible or may change its color (depends on L&F).
>>
>> - Selection may not be shown in the same color in several windows 
>> simultaneously.
>>
>> - Activating a popup menu does not hide the current selection.
>>
>> The fix should make Swing selection visibility behaving in standard 
>> way as in native systems UIs.
>>
>> --Semyon
>>
>>
>




More information about the swing-dev mailing list