Add Glassdock mod - #5037
Conversation
|
Thanks for the pull request! This repository uses a two-stage review: an AI review that you run yourself, followed by a human review. To get started, comment See the pull request review process for the full details. |
|
/ai-review |
Submission reviewNote: This review was done by Claude. Due to the amount of submissions, doing a fully manual review for each pull request is no longer feasible. Thank you for understanding. Remember: The AI reviewer can be wrong - it may misread code, flag correct code as broken, or suggest changes that make things worse. Treat its findings as suggestions to verify, not instructions to follow blindly. You're responsible for the code you submit, so if a finding doesn't hold up, say so instead of changing working code to satisfy it. Please address the following issues. The items in the collapsed sections are optional, so it's your call whether to address them. The biggest question here is whether this should be a mod at all rather than a theme; below that there are several rules that silently don't apply, and leftover code from the mod it was forked from. 1. This is a fork of Windows 11 Taskbar Styler — it should be a theme, not a new mod. Of the 8,022 lines, roughly 7,300 are m417z's That's the mechanism the repo already has for this: themes live in ramensoftware/windows-11-taskbar-styling-guide and get integrated into the styler's theme list (Surface, WindowGlass, LiquidGlass, Lucent, … — the same themes this file's comments cite as sources). Duplicating an existing mod instead of extending it is something the maintainer consistently pushes back on. Concrete downsides of the fork beyond catalog duplication:
If the point is the per-knob settings UI (opacity, radii, colors as individual settings rather than a style list), that's a feature request for the styler, not a reason to fork it. I'd suggest submitting Glassdock as a theme and, separately, proposing the settings idea upstream. 2. Remove the copied stats/telemetry timer.
static constexpr WCHAR kStatsBaseUrl[] =
L"https://github.com/ramensoftware/"
L"windows-11-taskbar-styling-guide/"
L"releases/download/stats-v4/";It's also dead here: the callback starts with 3. The persistent glassy icon background never applies — a later duplicate rule overrides it.
The engine does not merge those. bool propertyInserted = propertiesAdded.insert(property).second;
if (!propertyInserted) {
continue;
}The claim is per Same bug on the search button: the "defensive alternate" at lines 496–502 ( Fix: merge each set of styles for a given target into a single 4. Lines 556–564: theme.targetStyles.push_back({
L"Taskbar.TaskListLabeledButtonPanel@RunningIndicatorStates > Border",
{
L"Fill@RequestingAttentionRunningIndicator:=<SolidColorBrush .../>",
L"Background@RequestingAttentionRunningIndicator:=<SolidColorBrush .../>",
L"Width@RequestingAttentionRunningIndicator=" + w,
L"Margin=0,0,0," + Num(s.indicatorOffset),
}
});
Also, the matcher is a bare 5. User-facing dialogs still say "Windows 11 Taskbar Styler - Windhawk". Line 917 ( 6. Dead code and stale comments left over from the fork.
7. README needs a screenshot and settings documentation. The README is four lines for a purely visual mod with 30+ settings. A screenshot or GIF is what users pick a theming mod by; images must be hosted on 8. Numeric settings aren't validated, and one bad value can hide the taskbar.
L"MaxWidth={{min(" + Num(s.dockMaxWidth) + L", max(glassDockContainerWidth - 250, 100))}}",Setting it to 9. The dock width depends on capturing Optional improvements
Minor polish — none of this affects users, so it's your call.
Functionality notes
Non-critical observations and ideas about the feature behavior itself.
Next steps:
See the review process for details. |
Changelog
N/A - New mod introduction.
Mod authorship
If this pull request introduces a new mod, please complete the section below.
This mod was created by:
Please select the options that best apply. Your selection does not affect the acceptance criteria, but it helps reviewers understand the context of the code and provide relevant feedback.