Accent color when Windows determines the accent color itself
See original GitHub issueDescribe the bug
Windows 10 has an option:
“Automatically select an accent color from my background”.
This will select an accent color based on the background. But the color that MahApps / ControlzEx then sets is unfortunately not the same one that Windows then uses 😕
Maybe the error is also in “ControlzEx”. But since I only used MahApps I post it here 😃
Steps to reproduce
- create a project (.net 5 for example)
- include MahApps.Metro
- Overwrite “OnStartup” in the App.xaml.cs" and add the following:
ControlzEx.Theming.ThemeManager.Current.ThemeSyncMode = ControlzEx.Theming.ThemeSyncMode.SyncAll;
ControlzEx.Theming.ThemeManager.Current.SyncTheme();
-
In Windows, set the “Automatically select an accent color from my background” setting.
-
Compare accent colors
Expected behavior
That the accent color MahApps.Metro uses is the same as in Windows.
Actual behavior
The accent color MahApps.Metro uses is not the same as in Windows. (Usually a little darker than the current color)
Environment
MahApps.Metro version: v2.4.7
Windows build number: Win10 21H1 [Version 119043.1151]
Visual Studio: 2019 16.10.4
Target Framework: .Net Core 5.0 (but also happens in other versions)
Screenshots
Example project
Not really useful, but here it is when needed 😃
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Windows10 changing accent color on its own, How do I fix
Have you checked in Settings > Personalization > Colors > Automaticallly pick an accent color from my background. If you have that set...
Read more >Accent color keeps changing by itself
In Win 10, go to Settings>Personalization>Colors uncheck Automatically pick an accent color from my background. This problem drove me crazy for ...
Read more >Accent Color is Broken 22H2
It's strange how it works! It most often depends what accent color you choose, some times it looks great, other times it looks...
Read more >Accent color keeps changing by itself
I am experiencing a very strange issue with my color, ever since the November update it keeps changing on its own.
Read more >Windowblinds / Windows Accent Color
This is different to the accent colour. Your best bet is to alter the colour in the skin itself which can be done...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@punker76 Could you transfer this issue to ControlzEx? I can’t see the transfer button… Will fix it there next week.
https://github.com/ControlzEx/ControlzEx/issues/148