On Mon, 3 Jul 2023 16:11:16 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> If the scaleFactors used for the current device are not 1.0, a JXFPanel will 
> send a resize event with 0x0 dimensions to the JavaFX scene which can have 
> undesirable effects, which is because the resize pixel buffer is created even 
> for initial size of 9x0 width,height.
> Fix is to make sure to prevent resizing the pixel buffer for initial 
> width/height of 0.

This pull request has now been integrated.

Changeset: 8fef6a33
Author:    Prasanta Sadhukhan <psadhuk...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/8fef6a3315efed579a431d580aae143da236e7b2
Stats:     11 lines in 1 file changed: 7 ins; 4 del; 0 mod

8231865: JFXPanel sends resize event with size 0x0 on HiDPI devices

Reviewed-by: angorya

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

PR: https://git.openjdk.org/jfx/pull/1168

Reply via email to