<AWT Dev> <Awt Dev> [9] Review Request for 8011616: JWindow.getLocation and JWindow.getLocationOnScreen return different values on Unity

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Jul 31 13:14:18 UTC 2015


Hi, Semyon.
A few questions.
  - Why only location is fixed, an update of size if not necessary(if 
for some reason the size was changed by the system like location in this 
case)?
  - Note that we should update the target state before we post an event 
that the size is changed(we post them in 
XWindow.handleConfigureNotifyEvent). It seems that some of the peers has 
utility methods for this(like XDecoratedPeer.handleMoved).

On 31.07.15 11:52, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
> bug: https://bugs.openjdk.java.net/browse/JDK-8011616
> webrev: http://cr.openjdk.java.net/~ssadetsky/8011616/webrev.00/
>
> WM sends the real window position in the configuration event but 
> window peer does not set it to the target. Solution is: do set.
>
> --Semyon


-- 
Best regards, Sergey.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20150731/a485c17b/attachment.html>


More information about the awt-dev mailing list