RFR: 8322486: ColorPicker: blurry popup

Marius Hanl mhanl at openjdk.org
Fri Aug 15 09:15:20 UTC 2025


On Wed, 13 Aug 2025 12:31:32 GMT, Ziad El Midaoui <zelmidaoui at openjdk.org> wrote:

> The issue occurs when displaying the ColorPicker on a second monitor with scale=1 the ColorPicker appears blurry,
> This is due to snapping and changing the value of `-fx-snap-to-pixel` for the `ColorPalette` fixes the issue

modules/javafx.controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css line 1982:

> 1980: .color-palette > .color-picker-grid {
> 1981:     -fx-padding: 0.5px;
> 1982:     -fx-snap-to-pixel: true;

I guess we can completely remove this line then?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1869#discussion_r2278626123


More information about the openjfx-dev mailing list