On macOS, I’m setting a Tray icon with JVM arg `-D...
# compose-desktop
m
On macOS, I’m setting a Tray icon with JVM arg
-Dapple.awt.enableTemplateImages=true
like this:
Copy code
Tray(
    icon = rememberVectorPainter(Icons.Rounded.Timer),
    ...
)
However when I focus space on my other monitor, the icon does not get faded like the other ones do (see secreenshots). Can anyone give me some pointers on where to look to implement this properly?
1
c
is jetbrains toolbox open source? looks like toolbox has the right behavior
m
afaik, nope 😔 but I think community would greatly benefit from it, mainly the AWT stuff under the hood (I presume) that makes it behave the way it does
c
@Alexander Maryanovsky sorry for the ping. do you happen to know who works on toolbox?
a
No, sorry.
afaik, nope 😔 but I think community would greatly benefit from it, mainly the AWT stuff under the hood (I presume) that makes it behave the way it does
AFAIK, toolbox does some things by itself, but some improvements also end up in JBR.
So maybe try that if something doesn’t work right at the AWT level.