Repository navigation
Conversation
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>
[Medium impact] The PR appears safe to merge. SummaryKeeps an open indicator peek visible 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 |
|
Reviewed the diff, linked issue #16963 and current 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. |
|
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. |
Fixes #16963
Since #16517 the indicator peek opens only left of the clock, but with
omarchy.indicatorsincenterEnd(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, whereindicatorAreaHoveredslides 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
peekEdgeguard against can't come back.BarModel.peeksAttakes whether the peek is already open; theHoverHandlerpassesroot.centerSectionRevealHeld.Testing
test/shell.d/bar-test.shpasses. The new assertions (an open peek holds past the clock; crossing past the clock keeps the notch-case run open) fail onquattrowithout the change. The old'leaving past the clock closes the peek for good'assertion encoded the reported behaviour, so it's replaced.omarchy.indicatorsmoved tocenterEnd, 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