Skip to content

Keep the indicator peek open while the pointer crosses the clock - #17256

Closed
staruxian wants to merge 1 commit into
omacom:quattrofrom
staruxian:keep-indicator-peek-open-across-clock
Closed

staruxian wants to merge 1 commit into
omacom:quattrofrom
staruxian:keep-indicator-peek-open-across-clock

Conversation

@staruxian

Copy link
Copy Markdown

Fixes #16963

Since #16517 the indicator peek opens only left of the clock, but with omarchy.indicators in centerEnd (the default) the inactive indicators reveal right of it. A pointer heading for them has to cross the clock, which closes the peek, and the strip collapses until the pointer lands on its own collapsed width, where indicatorAreaHovered slides it out again under the pointer. So the icons retract mid-reach and the one you aimed at moves.

The opening rule is unchanged: the peek still opens only short of the clock, and hovering the clock or the right section first never opens it. What changes is that once open it holds anywhere on the bar, closing when the pointer leaves the bar (plus the existing 120 ms grace). Nothing that moves under the pointer can close it, so the open/close loop that #16293 and the held peekEdge guard against can't come back.

BarModel.peeksAt takes whether the peek is already open; the HoverHandler passes root.centerSectionRevealHeld.

Testing

  • test/shell.d/bar-test.sh passes. The new assertions (an open peek holds past the clock; crossing past the clock keeps the notch-case run open) fail on quattro without the change. The old 'leaving past the clock closes the peek for good' assertion encoded the reported behaviour, so it's replaced.
  • Live, on 4.5.0-rc2 with the patch applied and omarchy.indicators moved to centerEnd, using a real mouse: before, the indicators collapse while crossing the clock and pop back out on reaching the strip; after, they stay out across the clock and can be clicked. Hovering the clock or the right section first still leaves them hidden, and leaving the bar hides them.

🤖 Generated with Claude Code

The peek opens only left of the clock, but the indicators reveal past it,
so crossing the clock to reach them closed it. Once open, it now holds
until the pointer leaves the bar.

Fixes omacom#16963

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Keeps an open indicator peek visible while the pointer crosses the clock.

  • The indicator peek stays open while the pointer crosses the clock.

Reviewed the code paths; no tests or live UI checks were run during this review.

Reviews (1) · Last reviewed commit: "Keep the indicator peek open while the p..." · Reviewed by Greptile

@omarchybot

Copy link
Copy Markdown
Collaborator

Reviewed the diff, linked issue #16963 and current quattro source with Codex High. This PR conflicts with quattro: merged #18524 removed BarModel.peeksAt, the bar-wide hover handler and the peek state this change uses, replacing them with a hover zone on the indicators widget. This finding is from reading the source; tests and live UI checks were not run.

I classified this as a bug fix, but deepseek-v4p1-flash returned no classification, so classification remains unsettled and no labels were added. No second code review ran. This stays open for the maintainer to decide whether any work remains after #18524.

@staruxian

Copy link
Copy Markdown
Author

Closing as superseded by #18524, merged on November 12. That change replaced the bar-wide, clock-based indicator peek with a hover zone on the indicators widget itself and removed BarModel.peeksAt, nextPeekEdge, and centerSectionRevealHeld. This PR modifies that removed mechanism, so resolving its conflicts by restoring it would undo the newer design. Any remaining indicator hover issues should be investigated against the current widget-local reveal behavior.

@staruxian staruxian closed this Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants