-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
jfx23
-
x86_64
-
windows
ADDITIONAL SYSTEM INFORMATION :
Windows 11
OpenJDK 17, 21
JavaFX all versions >=21 affected, also all currently available early access versions
A DESCRIPTION OF THE PROBLEM :
Stage.getIcons().add(...) can be used to supply various Icons with different resolutions so JavaFX can pick the best matching one.
This doesn't seem to work on windows 11. The task bar icon is always blurry. I tried all possible and impossible resolutions.
Furthermore there is neither a way to circumvent the internal selection logic to implement custom behavior, nor a way to even see which icon is eventually chosen.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a stage in JavaFX, set a custom application Icon through stage.getIcons().add(...) with proper resolution for the task bar.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The icon, if provided with the correct resolution, appears unscaled 1:1 in the task bar.
ACTUAL -
The icon always gets scaled in some way leading to very ugly artifacts.
Windows 11
OpenJDK 17, 21
JavaFX all versions >=21 affected, also all currently available early access versions
A DESCRIPTION OF THE PROBLEM :
Stage.getIcons().add(...) can be used to supply various Icons with different resolutions so JavaFX can pick the best matching one.
This doesn't seem to work on windows 11. The task bar icon is always blurry. I tried all possible and impossible resolutions.
Furthermore there is neither a way to circumvent the internal selection logic to implement custom behavior, nor a way to even see which icon is eventually chosen.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a stage in JavaFX, set a custom application Icon through stage.getIcons().add(...) with proper resolution for the task bar.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The icon, if provided with the correct resolution, appears unscaled 1:1 in the task bar.
ACTUAL -
The icon always gets scaled in some way leading to very ugly artifacts.