-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS 10.16/11.0 Dark mode System Tray ambiguity #678
Comments
Using Java's
A second attempt is to grab the raw wallpaper instead using AppleScript: osascript -e 'tell application "System Events"
tell current desktop
get picture
end tell
end tell' ... but due to the new Dynamic Wallpaper feature, this returns The current frame is purported to live in sqlite3 -readonly ~/Library/Application\ Support/Dock/desktoppicture.db \
'SELECT * FROM data ORDER BY rowID DESC;' Any help is appreciated. If an API is available, the Xcode beta and Big Sur should expose it. 🤷♂️ |
OpenJDK has accepted the bug report here: https://bugs.openjdk.java.net/browse/JDK-8252015 @Vzor- is actively working on a patch. More to follow. |
@Vzor- is almost done with the changes. I've proposed the changes to the AWT mailing list here: https://mail.openjdk.java.net/pipermail/awt-dev/2020-September/016085.html |
Hi @tresf, I created a hack to replace trayIcon created by JDK by an instance with setTemplate(true). |
This works great, thanks for sharing! Will close this issue out once #745 is merged. I've linked your project on Stack Overflow, AdoptOpenJDK and privately to our JDK support provider. It's a very nice fix, thank you!!!! |
macOS 10.16 "Big Sur" has a dark mode ambiguity with the system tray area. Steps to reproduce:
This bug appears to be caused by the desktop's decision to choose a light-mode tray are when a dark-mode theme has been specified.
This is very similar to a problem that Windows 10 introduced when they too split the theming capabilities between the tray and the windowing. #597
The text was updated successfully, but these errors were encountered: