RFR: 8257719: JFXPanel scene fails to render correctly on HiDPI after fix for JDK-8199592 [v3]

Kevin Rushforth kcr at openjdk.java.net
Wed Dec 9 15:38:47 UTC 2020


On Wed, 9 Dec 2020 15:36:19 GMT, Jose Pereda <jpereda at openjdk.org> wrote:

>> 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

Marked as reviewed by kcr (Lead).

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

PR: https://git.openjdk.java.net/jfx/pull/364


More information about the openjfx-dev mailing list