RFR: 6899304 : java.awt.Toolkit.getScreenInsets(GraphicsConfiguration) returns incorrect values [v6]
Sergey Bylokhov
serb at openjdk.org
Wed Jan 29 00:13:49 UTC 2025
On Mon, 27 Jan 2025 14:25:08 GMT, anass baya <duke at openjdk.org> wrote:
>> Screen number 0 is not always the primary screen, so we’ve removed the code that assumes it is.
>>
>> We used an existing test and took the following considerations into account for Windows:
>>
>> - On Windows, undecorated maximized frames are placed over the taskbar.
>> - On Windows, the top-left corner of an undecorated maximized frame may have negative coordinates (x, y).
>> - Consider the fractional part after scaling.
>
> anass baya has updated the pull request incrementally with three additional commits since the last revision:
>
> - Reduce the line length
>
> Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
> - Reduce the line length
>
> Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
> - add "@build jdk.test.lib.Platform jtreg.SkippedException"
>
> Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
btw please enable pre-submit tests in your fork.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23183#issuecomment-2620309564
More information about the client-libs-dev
mailing list