Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8257538 | jfx11.0.10 | Jose Pereda | P3 | Resolved | Fixed |
Region has snapSizeX and snapSizeY methods that use Math.ceil, and depending on numerical errors, calling them twice can lead to different results, but when snapping an already snapped value (either intentionally or by mistake), the result should be the same, otherwise we'll be jumping unnecessary from a valid pixel to another pixel.
This error can be found for instance on Windows with UI scale 175%. Some controls like the CheckBox, are laid out with ellipses as a consequence of wrong calculations.
This error can be found for instance on Windows with UI scale 175%. Some controls like the CheckBox, are laid out with ellipses as a consequence of wrong calculations.
- backported by
-
JDK-8257538 Nested calls to snap methods in Region give different results
-
- Resolved
-
- relates to
-
JDK-8199592 Control labels truncated at certain DPI scaling levels
-
- Resolved
-