RFR: 6899304 : java.awt.Toolkit.getScreenInsets(GraphicsConfiguration) returns incorrect values [v6]
anass baya
duke at openjdk.org
Mon Jan 27 14:25:08 UTC 2025
> 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>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23183/files
- new: https://git.openjdk.org/jdk/pull/23183/files/ec145d3d..f66aa032
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23183&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23183&range=04-05
Stats: 5 lines in 1 file changed: 2 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/23183.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23183/head:pull/23183
PR: https://git.openjdk.org/jdk/pull/23183
More information about the client-libs-dev
mailing list