Repository navigation
Keep the clock still when right click cycles its format - #16603
Merged
Merged
Conversation
The bar's press feedback shrank the label for every mouse button, so a right click on the clock scaled the next format down as it landed and sprang it back. A widget can now say which buttons its mark gives under, and the clock leaves out right click, whose new label is feedback enough. The bar's press handler and an open panel's overlay report which button holds the widget, so the choice holds whichever of them takes the press. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryKeeps the clock still when right-clicking changes its format.
The latest revision only changes how the open panel tracks held buttons. No new actionable issues were found. Reviews (2) · Last reviewed commit: "Hold every button still down through an ..." · Reviewed by Greptile |
The overlay told the widget only the button just pressed, so pressing right while left held the clock replaced the mask with right alone and the label sprang back while left was still down; releasing one of two buttons cleared the hold entirely. It now passes the full set of buttons down on press and keeps the hold while any remains on release. The bar's own press handler accepts only the left button, so it cannot chord. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
This was referenced Oct 27, 2026
localrobot
pushed a commit
to localrobot/omarchy
that referenced
this pull request
Nov 1, 2026
* Keep the clock still when right click cycles its format The bar's press feedback shrank the label for every mouse button, so a right click on the clock scaled the next format down as it landed and sprang it back. A widget can now say which buttons its mark gives under, and the clock leaves out right click, whose new label is feedback enough. The bar's press handler and an open panel's overlay report which button holds the widget, so the choice holds whichever of them takes the press. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Hold every button still down through an open panel's overlay The overlay told the widget only the button just pressed, so pressing right while left held the clock replaced the mask with right alone and the label sprang back while left was still down; releasing one of two buttons cleared the hold entirely. It now passes the full set of buttons down on press and keeps the hold while any remains on release. The bar's own press handler accepts only the left button, so it cannot chord. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com> --------- Co-authored-by: David Heinemeier Hansson <david@hey.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Codex Medium <noreply@openai.com> (cherry picked from commit 6cc767f)
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.
Right-clicking the clock to cycle its format set off the bar's press animation from #16503. The label shrank to 0.9 and sprang back, and because the click swaps in the next format, the new text was what shrank as it landed. The press feedback answered every mouse button, and a click that replaces the label is feedback enough on its own.
WidgetButtongetspressFeedbackButtons, the buttons its mark gives under. It defaults to left, right and middle, so every other widget behaves as before.heldbecomesheldButtons. The bar's drag handler and an open panel's overlay take the press before the widget sees it, so they now say which buttons hold it, and the mask applies however the press arrives. The overlay passes every button still down, so pressing or releasing a second button mid-hold leaves the first one's feedback alone.Reviewed by Codex at medium effort, which found the chorded-press case above; nothing else.
🤖 Generated by Opus 5.5 in Claude Code. Reviewed by Codex Medium.