Repository navigation
Reveal hidden indicators only when hovering their own block - #18524
Merged
Merged
Conversation
Hovering anywhere on the bar left of the clock used to peek the inactive indicators. Now only the spot where they would appear does: the widget carries an invisible hover zone the size of its hidden icons, on the side they grow toward. The bar-wide peek and its plumbing are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
[Medium impact] The PR appears safe to merge; the previous tray drawer problem is fixed. SummaryThe PR limits indicator reveal to the widget’s own hover area and removes the old bar-wide reveal state.
Reviews (2) · Last reviewed commit: "Show indicators outright in the tray's d..." · Reviewed by Greptile |
There an idle widget with its icons hidden takes no room, so its hover zone is clipped away and nothing could reveal them. The drawer already hides them until hovered, so the bar now tells widgets they sit in it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 17, 2026
This was referenced Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Hovering anywhere on the bar left of the clock (workspaces, empty bar) used to peek the inactive indicators. Now only hovering where they would appear does.
centerBeginplacement). It takes no room in the bar.inTraySectiononBarWidget).setBarHovered/barHoverCount,peekEdge/syncPeekEdge,BarModel.peeksAt/nextPeekEdge, and the clock and weather panels'setCenterHoverRevealSuppressed(which kept the peek shut behind a hotkey-opened panel).centerSectionRevealHeld,centerHoverRevealSuppressedandsetCenterHoverRevealSuppressedare gone fromPluginBarApi. A plugin still reading them sees nothing revealed.Verification
test/shell.d/indicator-contract-test.shandtest/shell.d/bar-test.shpass.got width 0without the fix. Zeroing the zone's reach makes it fail in all four cases (zone 0-21, icon 21-42 from the fixed edge).hl.dsp.cursor.movewarps didn't trigger any bar hover in that session (no tooltips either), so the reveal itself still needs a check with a real pointer.Screenshots
No visible change: the bar renders the same at rest; only where hovering reveals the hidden indicators changes.
🤖 Generated with Claude Code