<AWT Dev> RFR: 8257414: Drag n Drop target area is wrong on high DPI systems

Sergey Bylokhov serb at openjdk.java.net
Wed Jan 20 02:02:49 UTC 2021


On Mon, 18 Jan 2021 12:48:14 GMT, Olga Mikhaltsova <omikhaltcova at openjdk.org> wrote:

> There are 3 different places in XDnDDropTargetProtocol::processXdndPosition(..) where it is necessary to decide whether to scale coordinates or not:

Unfortunately, this is the purpose of the whole fix to decide when the scale is required and then not, otherwise we can simply break the untested cases.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1907


More information about the awt-dev mailing list