Skip to content

hide-virtual-desktop-confirmator: initial release#4633

Open
Zygaross wants to merge 3 commits into
ramensoftware:mainfrom
Zygaross:hide-virtual-desktop-confirmator
Open

hide-virtual-desktop-confirmator: initial release#4633
Zygaross wants to merge 3 commits into
ramensoftware:mainfrom
Zygaross:hide-virtual-desktop-confirmator

Conversation

@Zygaross

@Zygaross Zygaross commented Jun 30, 2026

Copy link
Copy Markdown

Summary

Hides the Windows 11 virtual desktop number popup when switching virtual desktops
(trackpad, Win+Ctrl). Keeps the slide animation. Volume and brightness flyouts
still work.

How

  • TextConfirmator add -> collapse ConfirmatorMainGrid
  • TextConfirmator remove -> restore via cached MainGrid ref
  • VolumeConfirmator / BrightnessConfirmator add -> restore if needed

No timers, registry polling, or HWND hide/restore.

Tested

Windows 11 24H2/25H2 class builds with HWConfirmatorUI.

License

GPL-3.0. XAML TAP scaffolding based on m417z's demo.

Zygaross added 3 commits June 30, 2026 19:27
Hides the desktop-number confirmator on virtual desktop switch while keeping
the slide animation and volume/brightness flyouts.

- Collapses ConfirmatorMainGrid on TextConfirmator spawn
- Restores via cached MainGrid ref on remove or volume/brightness spawn
- GPL-3.0 (m417z XAML TAP demo scaffolding)
Use explicit dllexport on COM entry points like settings-styler. Fixes PR validation.
@m417z

m417z commented Jul 2, 2026

Copy link
Copy Markdown
Member

Thank you for the submission.

The main issue is that the mod uses XAML Diagnostics (InitializeXamlDiagnosticsEx), which makes the mod incompatible with other mods or customization tools that use it. Specifically, it makes the mod incompatible with Windows 11 Taskbar Styler.

Please update the implementation such that XAML Diagnostics API isn't used. There are several mod examples which can serve as an example, for example Start button always on the left:

XamlRoot xamlRoot = nullptr;
if (_wcsicmp(szClassName, L"Shell_TrayWnd") == 0) {
xamlRoot = GetTaskbarXamlRoot(hWnd);
} else if (_wcsicmp(szClassName, L"Shell_SecondaryTrayWnd") == 0) {
xamlRoot = GetSecondaryTaskbarXamlRoot(hWnd);
} else {
return TRUE;
}
if (!xamlRoot) {
Wh_Log(L"Getting XamlRoot failed");
return TRUE;
}
if (!ApplyStyle(xamlRoot)) {
Wh_Log(L"ApplyStyles failed");
return TRUE;
}

Also, you might be able to achieve the same with just Windows 11 Taskbar Styler styles. Have you tried that?

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