Skip to content

Conversation

@codebytere
Copy link
Member

Description of Change

Closes #48232.

Enables resetting accent color to follow system accent settings if a previous color has been set.

Checklist

Release Notes

Notes: Enables resetting accent color to follow system accent settings if a previous color has been set via window.setAccentColor(null).

@codebytere codebytere added semver/minor backwards-compatible functionality target/37-x-y PR should also be added to the "37-x-y" branch. target/38-x-y PR should also be added to the "38-x-y" branch. target/39-x-y PR should also be added to the "39-x-y" branch. labels Sep 8, 2025
@ckerr
Copy link
Member

ckerr commented Sep 11, 2025

The macos-arm64 test (darwin, 2) CI failure is unrelated to this PR; it's present in main too. Tracked @ #48291

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Sep 15, 2025
@codebytere codebytere force-pushed the reset-accent-color branch 2 times, most recently from 908ee22 to 6fd43ca Compare October 10, 2025 15:15
Copy link
Member

@itsananderson itsananderson left a comment

Choose a reason for hiding this comment

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

Couple comments to try to make the examples super specific, but otherwise API LGTM

@codebytere codebytere requested a review from erickzhao October 20, 2025 11:53
@codebytere codebytere requested review from a team as code owners October 20, 2025 11:53
@jkleinsc jkleinsc merged commit 0a19176 into main Oct 21, 2025
107 of 108 checks passed
@jkleinsc jkleinsc deleted the reset-accent-color branch October 21, 2025 14:49
@release-clerk
Copy link

release-clerk bot commented Oct 21, 2025

Release Notes Persisted

Enables resetting accent color to follow system accent settings if a previous color has been set via window.setAccentColor(null).

@trop
Copy link
Contributor

trop bot commented Oct 21, 2025

I was unable to backport this PR to "37-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot removed the target/37-x-y PR should also be added to the "37-x-y" branch. label Oct 21, 2025
@trop
Copy link
Contributor

trop bot commented Oct 21, 2025

I was unable to backport this PR to "39-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/37-x-y and removed target/39-x-y PR should also be added to the "39-x-y" branch. labels Oct 21, 2025
@trop
Copy link
Contributor

trop bot commented Oct 21, 2025

I was unable to backport this PR to "38-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/39-x-y needs-manual-bp/38-x-y and removed target/38-x-y PR should also be added to the "38-x-y" branch. labels Oct 21, 2025
TheCommieAxolotl pushed a commit to TheCommieAxolotl/electron that referenced this pull request Nov 2, 2025
@bpasero
Copy link
Contributor

bpasero commented Nov 8, 2025

@codebytere can this be backported at least to Electron 39?

@trop
Copy link
Contributor

trop bot commented Nov 8, 2025

@codebytere has manually backported this PR to "39-x-y", please check out #48852

@trop
Copy link
Contributor

trop bot commented Nov 8, 2025

@codebytere has manually backported this PR to "38-x-y", please check out #48853

@trop trop bot added in-flight/38-x-y merged/39-x-y PR was merged to the "39-x-y" branch. merged/38-x-y PR was merged to the "38-x-y" branch. and removed needs-manual-bp/38-x-y in-flight/39-x-y in-flight/38-x-y labels Nov 8, 2025
nilayarya pushed a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
nilayarya added a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
nilayarya added a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-review/approved ✅ merged/38-x-y PR was merged to the "38-x-y" branch. merged/39-x-y PR was merged to the "39-x-y" branch. needs-manual-bp/37-x-y semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: accent color cannot be reset without a restart

8 participants