Repository navigation
Conversation
Defer active/inactive regrouping until the controls collapse so toggling nightlight does not move or destroy the clicked icon. Keep state presentation and status-only indicators responsive. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[Medium impact] The PR appears safe to merge. SummaryKeeps indicator buttons in place while controls are revealed.
No actionable issues found.
|
|
This matches the behavior seen on my desktop: clicking Night Light moves the icon toward the clock, so Day Light appears where the neighboring Silence Notifications control was. Keeping the same click target is the behavior I expected. Independent checks run with Codex on this machine: applied the production changes and indicator-contract fixture from this PR to upstream The full desktop visual check was inconclusive, so this is automated regression confirmation rather than a claim of independent visual verification. The installed shell was restored after the attempted check. Thanks for addressing this! |
quattro removed the source-text asserts in remote-session-test.sh that this branch had updated for the renamed BarIndicator property, so its version is taken whole. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Reviewed and verified on a worker. The bug is real, and this fixes it. Reproduced with real clicks. On a worker running the actual bar, I hovered the indicators to reveal them and clicked Night Light twice at the same spot, on The captures are cropped to the indicators, with the display at 2x. Pushed: a merge of Tests on the worker, at 0ee7a77:
Second opinion: Codex Medium and muse-wonder (via pi, thinking high). Both reviewed the merged tree, and neither found a correctness defect. Both traced the status-only path and found that an indicator toggled during a reveal regroups correctly when the reveal ends. They split on one point, which is also the one thing I'd flag:
Two smaller notes from the review, neither changed:
Waiting on the maintainer's call on the |
|
Rechecked head The fresh classification disagreed: GPT-6 in Codex classified the moving click target as a bug; DeepSeek ( |




Summary
Keep click targets stable for repeated toggles, including always-shown indicators and horizontal/vertical bars. Status-only indicators, such as remote sessions, still appear and disappear immediately.
Evidence
bash test/shell.d/indicator-contract-test.shreproduces moving click targets and destroyed clicked icons when toggling nightlight.After: The same regression passes for both fixed edges, both orientations, and always-shown indicators; state and tooltip changes remain immediate.
screenshot-sanity-test.shfailure, also reproduced on the unchanged base.Merge Danger
Door: two-way
No configuration changes or migrations; revert to restore immediate regrouping.
Blast Radius: indicators
Shared indicator placement changes while controls are revealed; collapsed active ordering and status-only visibility are preserved.