Skip to content
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

fix: dark mode tray opacity on Mojave #19013

Merged
merged 1 commit into from Jul 2, 2019
Merged

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented Jun 27, 2019

Description of Change

Closes #19009
Closes #19006.

Fixes an issue which is fixed in master as a result of this Chromium CL.

Previously Chromium forward-declared NSAppearanceNameDarkAqua name as an NSString*, so our updated functions in #18666 would never believe themselves to be in dark mode.

This fixes that issue by removing Chromium's older forward declarations and adding them in ourselves.

cc @MarshallOfSound

Checklist

Release Notes

Notes: Fixed an issue where the Tray icon would never believe itself to be in dark mode.

@MarshallOfSound
Copy link
Member

@codebytere I assume you're not running catalina, I'd like to verify this on a catalina machine before we declare it fixed. I can test this afternoon if no one else has a catalina machine available

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jun 28, 2019
@MarshallOfSound MarshallOfSound added the fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases label Jun 29, 2019
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this and it isn't quite working afaics, pulling down and building locally

@codebytere codebytere merged commit 92df6cc into 6-0-x Jul 2, 2019
@release-clerk
Copy link

release-clerk bot commented Jul 2, 2019

Release Notes Persisted

Fixed an issue where the Tray icon would never believe itself to be in dark mode.

@codebytere codebytere deleted the fix-tray-transparency branch July 2, 2019 18:04
@trop
Copy link
Contributor

trop bot commented Jul 2, 2019

I have automatically backported this PR to "5-0-x", please check out #19082

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tray fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases
Projects
No open projects
6.1.x
Fixed in 6.0.0-beta.12
Development

Successfully merging this pull request may close these issues.

None yet

2 participants