dustinkredmond / FXTrayIcon

Tray Icon implementation for JavaFX applications. Say goodbye to using AWT's SystemTray icon, instead use a JavaFX Tray Icon.
MIT License
324 stars 25 forks source link

Blurry Icon with FXTrayIcon, Clearer Icon with AWT #81

Open leewyatt opened 11 months ago

leewyatt commented 11 months ago

Hi Dustin

image

I would like to report an issue regarding the tray icon display. The icon set using FXTrayIcon on the left appears to be blurry, while the system icon set using AWT on the right looks clearer. This inconsistency in the icon quality is affecting the overall user experience. It would be greatly appreciated if this issue could be addressed and the clarity of the FXTrayIcon icon improved to match the quality of the AWT system icon.

Thank you for your attention to this matter.

leewyatt commented 11 months ago

I suspect the reason is that the Windows system scales the tray icon, resulting in a clearer appearance. However, when using FXTrayIcon, the blurriness is caused by our own icon scaling.

when using FXTrayIcon and not specifying the icon size manually, if the icon size is large, only a portion of the icon will be displayed in the system tray.