Skip to content

Windows 11 Start Menu Styler v1.5.2#4199

Merged
m417z merged 1 commit into
mainfrom
windows-11-start-menu-styler-1.5.2
May 27, 2026
Merged

Windows 11 Start Menu Styler v1.5.2#4199
m417z merged 1 commit into
mainfrom
windows-11-start-menu-styler-1.5.2

Conversation

@m417z

@m417z m417z commented May 27, 2026

Copy link
Copy Markdown
Member
  • Disabled the classic Start menu layout in the latest Windows 11 update. In the latest update, reverting to the classic layout (either with the mod or via ViVeTool flags) causes the Start menu to fail to open. At this point, it's unclear whether it's a temporary Windows issue, or if it's caused by the removal of the classic layout from Windows.

* Disabled the classic Start menu layout in the latest Windows 11 update. In the latest update, reverting to the classic layout (either with the mod or via ViVeTool flags) causes the Start menu to fail to open. At this point, it's unclear whether it's a temporary Windows issue, or if it's caused by the removal of the classic layout from Windows.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps Windows 11 Start Menu Styler to v1.5.2 and mitigates a recent Windows 11 update regression by preventing the mod from forcing the classic Start menu layout on affected builds (where it can cause the Start menu to fail to open). It also refactors the style-variable registry plumbing to route through a StyleVariableState object.

Changes:

  • Disable the classic Start menu layout options on newer Windows builds by gating them behind a main-module version check.
  • Add version-resource parsing (VerQueryValue etc.) and link against version (-lversion) to support the build gating.
  • Refactor global style-variable maps into a StyleVariableState container and thread it through the variable-resolution/propagation code paths.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


StyleVariableState g_styleVariableState;

StyleVariableState* GetStyleVariableState() {
Comment on lines +10911 to +10917
if (!state) {
// The element's XamlRoot has already been destroyed (or was never
// available); the StyleVariableState entry has been or will be reaped,
// and there is nothing to clean up. New registrations (newDeps) are
// also dropped on the floor: without a state we cannot route
// propagations anyway.
return;
Comment on lines +11911 to +11915
if (!state) {
Wh_Log(L"No XamlRoot for %s, skipping",
winrt::get_class_name(element).c_str());
return;
}
Comment on lines +13524 to +13531
case DisableNewStartMenuLayout::disableNewLayoutKeepPhoneLink:
case DisableNewStartMenuLayout::disableNewLayoutAndPhoneLink:
if (IsMainModuleVersionAtLeast(10, 0, 26100, 8521)) {
// Classic Start Menu layout causes a crash in StartDocked.dll
// in newer builds, and as a result, the Start menu fails to
// launch. Disable the option in this case.
disableNewStartMenuLayout =
DisableNewStartMenuLayout::windowsDefault;
@m417z m417z merged commit 49b5f6c into main May 27, 2026
4 of 5 checks passed
@m417z m417z deleted the windows-11-start-menu-styler-1.5.2 branch May 27, 2026 16:22
drgutman pushed a commit to drgutman/windhawk-mods that referenced this pull request Jun 1, 2026
* Disabled the classic Start menu layout in the latest Windows 11 update. In the latest update, reverting to the classic layout (either with the mod or via ViVeTool flags) causes the Start menu to fail to open. At this point, it's unclear whether it's a temporary Windows issue, or if it's caused by the removal of the classic layout from Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants