[codex] Add Dynamic Taskbar Transparency mod#4530
Conversation
Submission reviewNote: This review was done by Claude, and then refined manually. Due to the amount of submissions, doing a fully manual review for each pull request is no longer feasible. Thank you for understanding. Please address the following issues. The items in the collapsed sections are optional, so it's your call whether to address them. This is a well-structured mod and the core architecture (hook 1. 2. The global std::thread* g_workerThread = nullptr;
// init: g_workerThread = new std::thread(WorkerLoop);
// uninit: g_stopWorker = true; g_workerThread->join(); delete g_workerThread;Relatedly, 3. The worker re-runs full window enumeration on every animation frame. 4. Significant overlap with taskbar-background-helper. That mod (by m417z) already sets the Win11 taskbar background to blur / acrylic / color, "always or only when there's a maximized window," and is designed to pair with the Taskbar Styler — which covers a large part of what this mod does. Your addition is the per-shell-state machine (desktop / Start / search / task view / tray flyout) with fades, which is genuinely more than the existing mod, so this isn't a pure duplicate. But the maintainer strongly prefers extending an existing mod over shipping an overlapping one. Please state plainly in the PR how this differs, and consider whether the state-machine behavior could be contributed to 5. No screenshot/GIF in the readme. This is a visual mod, so a short GIF showing the taskbar changing across the states (desktop → maximized → Start, etc.) would help users a lot. 6. Some of the state detection matches on localized window titles — Optional improvements
Minor polish — none of this affects users, so it's your call.
Functionality notes
Non-critical observations about the feature behavior itself.
|
What changed
Adds
dynamic-taskbar-transparency, a Windows 11 taskbar mod that changes the taskbar background based on shell state.The mod supports configurable appearances for desktop/no-maximized-window, maximized windows, Start, search, task view, tray flyouts, and optional unclassified shell interactions. Supported appearances include existing style/other mods, Windows native/default, clear, blur, and acrylic-like blur.
Difference from taskbar-background-helper
taskbar-background-helperis a lower-level background helper for the Windows 11 taskbar. It mainly applies blur/acrylic/color either always or when a maximized window exists, and it is designed to pair with Taskbar Styler.This mod is intentionally focused on the TranslucentTB-style shell state machine: desktop/no-maximized-window, maximized windows, Start, search, task view, tray/notification/quick-settings flyouts, and an optional catch-all for other shell-host surfaces can each resolve to a separate configured appearance. It also owns the fade animation between those resolved states. The overlap is the XAML taskbar background surface; the additional behavior is the per-shell-state resolution and transition layer.
Notes
The mod targets
explorer.exeand edits the Windows 11 taskbar XAML background rectangles. The blur implementation follows the WindhawkBlur-style approach used by Windows 11 Taskbar Styler / TranslucentTaskbar instead of relying onAcrylicBrushdirectly.Review follow-up changes:
GPL-3.0because the blur stack and taskbar symbol hook approach reuse GPL-compatible Windhawk mod code.std::thread*, joined and deleted inWh_ModUninit.Validation
.github/pr_validation.pypassed locally with the PR changed-file environment.scripts/compile_mod.pypassed locally with Windhawk fromC:\Program Files\Windhawkand-ldwmapi -lole32 -loleaut32 -lruntimeobject.mods/dynamic-taskbar-transparency.wh.cpp.