Add Physics for Panels mod suite - #4986
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 |
|
@Prashant-modder Comment |
|
/ready-for-reviewer |
|
The submission is not ready, fix the CI errors. |
|
/ready-for-reviewer |
|
/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 main problems are in the flyout detection (wrong window class for most Windows 11 builds, and a visibility test that likely never goes false), and in the fact that a blocked 1. The mod id has nothing to do with the mod. The id is 2. The name collides with an existing mod, and the feature arguably belongs there. 3. 4.
5. A blocked Record the taskbar window and re-request the hide once the condition clears, the way 6. On current Windows 11 builds, hiding is driven by 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. |
|
/ready-for-reviewer |
|
@Prashant-modder |
|
/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 mod targets an area that is already well covered by existing mods in this repo, so there are good references to compare against — 1. The
SetTimer(hTaskbar, TIMER_REARM_ID, TIMER_POLL_INTERVAL, RearmTimerProc);
Also note Safest fix: don't use a 2. The whole There are four independent reasons:
3. The The real symbol, used identically by three mods in this repo, is: {LR"(public: void __cdecl winrt::Taskbar::implementation::ViewCoordinator::UpdateIsExpanded(unsigned __int64,enum TaskbarTipTest::TaskbarExpandCollapseReason))"},with the prototype To force the taskbar to stay expanded, hook 4. Secondary taskbars are not handled. On multi-monitor setups the secondary taskbars hide via 5. It searches all top-level windows on the desktop and can return a taskbar owned by a different process, in which case 6. BOOL cloaked = FALSE;
HRESULT hr = DwmGetWindowAttribute(hWnd, DWMWA_EXTENDED_FRAME_BOUNDS, &cloaked, sizeof(cloaked));
if (FAILED(hr)) {
DwmGetWindowAttribute(hWnd, DWMWA_CLOAKED, &cloaked, sizeof(cloaked));
}
BOOL cloaked = FALSE;
if (FAILED(DwmGetWindowAttribute(hWnd, DWMWA_CLOAKED, &cloaked, sizeof(cloaked)))) {
cloaked = FALSE;
}
return !cloaked;7. Disabling the mod can leave the taskbar permanently visible. If the mod is disabled while it is suppressing a hide, nothing ever re-triggers the hide and the taskbar stays on screen until something else pokes it. A mod's effects should disappear when it's disabled. SetTimer(hTaskbar, kTrayUITimerHide, 0, nullptr);(see 8. The README has no screenshot or GIF. The mod's effect is visual, and the comparable mods in this family all include one (e.g. taskbar-auto-hide-when-maximized). A short GIF showing the taskbar staying put while Quick Settings is open would help a lot. Only 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
If this pull request updates an existing mod, describe the changes below:
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.