RFR: 8322486: ColorPicker: blurry popup

Andy Goryachev angorya at openjdk.org
Mon Aug 18 23:15:45 UTC 2025


On Fri, 15 Aug 2025 09:12:31 GMT, Marius Hanl <mhanl 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?

Good point - I wonder if the whole block can be removed.
We need to test this on windows with fractional scale though.

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

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


More information about the openjfx-dev mailing list