dorkbox / SystemTray

Cross-platform SystemTray support for Swing/AWT, macOS, GtkStatusIcon, and AppIndicator on Java 8+
Other
446 stars 58 forks source link

Different systems, same tray image. The icon display of the tray is different #219

Open asfdnkw opened 3 months ago

asfdnkw commented 3 months ago

截图 2024-08-20 16-58-12 The tray icon in this picture is displayed normally. But when running the program on a different system, the tray icon changes to this. image Is there any way to make the icon adapt to the tray icon size.

sblantipodi commented 1 week ago

I think that it's a problem of GNOME returning the wrong icon size. It returns an icon width/height of 24 pixels while it's using only 16. Linux tray icons is a mess...