<AWT Dev> [8u] RFR: JDK8U Backport of 8183504: 8u131 Win 10, issue with wrong position of Sogou IME popup
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Mon Nov 27 10:39:17 UTC 2017
You need to set "cfr" here
3877 cf.rcArea.left = cf.rcArea.top = cf.rcArea.right = cf.rcArea.bottom
= 0;
Regards
Prasanta
On 11/27/2017 2:56 PM, Sreeprakash Sreedharan wrote:
>
> Hi,
>
> Please review this webrev for JDK-8u backport.
>
> Webrev:
> http://cr.openjdk.java.net/~ssreedharan/8183504/jdk8u-dev/webrev.00/
> <http://cr.openjdk.java.net/%7Essreedharan/8183504/jdk8u-dev/webrev.00/>
>
> Main Bug: https://bugs.openjdk.java.net/browse/JDK-8183504
>
> JDK10 review thread:
> http://mail.openjdk.java.net/pipermail/awt-dev/2017-October/013155.html
>
> JDK10 changeset: http://hg.openjdk.java.net/jdk/jdk/rev/fd3c961a89ec
>
> The patch from JDK10 was not applied cleanly.
>
> Changed,
>
> cf.ptCurrentPos = {x, y};
>
> cf.rcArea = {0, 0, 0, 0};
>
> to
>
> cf.ptCurrentPos.x = x;
>
> cf.ptCurrentPos.y = y;
>
> cf.rcArea.left = cf.rcArea.top = cf.rcArea.right = cf.rcArea.bottom = 0;
>
> in two places.
>
> CANDIDATEFORM ptCurrentPos and rcArea were assigned through
> copy-list-initialization which is a C++ 11 feature.
>
> This was giving compiler error for JDK8.
>
> Regards,
>
> Sreeprakash
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20171127/c057f947/attachment.html>
More information about the awt-dev
mailing list