You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Windows 11 Canary builds, the color auto setting for Nilesoft Shell was broken. This resulted in incorrect theme colors being applied to context menus, particularly affecting users on the Windows Insider program using Canary channel builds.
5
+
6
+
## Root Cause Analysis
7
+
The issue was caused by changes in how Windows 11 Canary builds handle theme data. Specifically:
8
+
9
+
1. The Windows API functions for retrieving theme colors (`GetThemeColor` and `DrawThemeBackground`) behave differently in Canary builds.
10
+
2. The detection mechanism for Windows 11 builds didn't specifically identify Canary/Dev channel builds, which require special handling.
11
+
12
+
## Changes Made
13
+
14
+
### 1. Enhanced Windows Version Detection
15
+
Updated the `Windows.h` file to detect Windows 11 Insider builds:
16
+
17
+
```cpp
18
+
bool IsCanaryBuild = false;
19
+
bool IsDevBuild = false;
20
+
bool IsBetaBuild = false;
21
+
bool IsPreviewBuild = false;
22
+
```
23
+
24
+
Added code to detect the Insider channel by reading the `FlightRing` registry value:
0 commit comments