RFR: 8257719: JFXPanel scene fails to render correctly on HiDPI after fix for JDK-8199592 [v3]
jpereda at openjdk.java.net
Wed Dec 9 15:38:46 UTC 2020
> This PR fixes a regression introduced in [JDK-8199592](https://bugs.openjdk.java.net/browse/JDK-8199592), where scene initialization was moved after updating output scales. However, in case of embedded windows (used by `JFXPanel` or `FXCanvas`), the scene has to be initialized before.
> A test has been included. Before applying the fix, the JFXPanel is rendered with a garbled image, and after the fix, the rendering is correct.
Jose Pereda has updated the pull request incrementally with one additional commit since the last revision:
Add comment to test
- all: https://git.openjdk.java.net/jfx/pull/364/files
- new: https://git.openjdk.java.net/jfx/pull/364/files/4eb1ace5..34862492
- full: https://webrevs.openjdk.java.net/?repo=jfx&pr=364&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=364&range=01-02
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
Fetch: git fetch https://git.openjdk.java.net/jfx pull/364/head:pull/364
More information about the openjfx-dev