> 2. Investigate if win32 provides a similar API prior to creating a PR
>

Although Windows offers a way to detect lightmode/darkmode of the taskbar
through the registry <https://stackoverflow.com/a/61148435/3196753>, I
can't yet find any API documentation on the OS drawing the TrayIcon area
using a mask/template.

https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.notifyicon.icon

For this reason, the PR will be a macOS-only feature.  Crawling the Qt
source, they too seem to provide this mask/template flag for macOS
(platforms/cocoa)
<https://github.com/qt/qtbase/search?q=ismask&unscoped_q=ismask> only
despite exposing the API to all platforms.

Assuming that's the best we can do, we'll target macOS only in the PR and
we'll target the JDK project version that's recommended by this team.

Reply via email to