RFR: 8309460: JScrollBar leaves behind clutter for non-integer UI scales

Harshitha Onkar honkar at openjdk.org
Mon Jan 22 22:22:27 UTC 2024


On Mon, 22 Jan 2024 17:44:39 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> Because float scale results in fractional pixels?
> 
> If the scale is 1.25, then 1 pixel is 1.25 physical pixels; 2 pixels are 2.5 physical pixels and so on.

Initially this issue looked similar to fractional scaling issues such as border rendering issues observed on windows previously but it seems to happen only on non-standard fractional UI scales such as 2.3, 2.7 and not on standard fractional scales supported on windows (1.25,1.75,2.25 ..) https://github.com/openjdk/jdk/pull/17484#pullrequestreview-1834275178.

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

PR Comment: https://git.openjdk.org/jdk/pull/17484#issuecomment-1904926732


More information about the client-libs-dev mailing list