On Mon, 10 Jul 2023 07:26:10 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.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Make pWidth/pHeight 0 after border insets if it's negative

Ideally, a regression test -- either automated (if feasible) or manual -- would 
have been included with this fix. Is it worth a follow-on bug to add such a 
test?

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

PR Comment: https://git.openjdk.org/jfx/pull/1168#issuecomment-1629332242

Reply via email to