RFR: JDK-8306990: The guarantees given by Region's floor and ceiling functions should work for larger values [v2]

John Hendrikx jhendrikx at openjdk.org
Tue May 2 15:20:34 UTC 2023


On Tue, 2 May 2023 15:15:00 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> > I'm not able to reproduce it.
> 
> I am trying to run the code after a clean build, and can't - the MonkeyTester freezes going in an infinite loop in HBox.growOrShrinkAreaWidths() on line 517 when launching to an HBox page.
> 
> And when launching to a different page, the layout all gets messed up:
> 
> ![Screenshot 2023-05-01 132041](https://user-images.githubusercontent.com/107069028/235538707-2ac949d7-6257-4a66-8847-3dc73a5f1e64.png)
> 
> also, looks like it's entering infinite loop when moving the window from primary monitor on windows 11 (scale=100%) to the secondary (scale=175%)

Okay, I will investigate, I have an idea what this can be, just very surprised that the rounding fixes would cause any issues in this code.

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

PR Comment: https://git.openjdk.org/jfx/pull/1118#issuecomment-1531662136


More information about the openjfx-dev mailing list