Skip to content

fix: keep the flash duck off during the Up+Down clock - #627

Merged
prokrypt merged 1 commit into
mainfrom
fix/chord-clock-light
Nov 11, 2026
Merged

prokrypt merged 1 commit into
mainfrom
fix/chord-clock-light

Conversation

@prokrypt

Copy link
Copy Markdown
Owner

Requested by Clankmaster · project thread

The Up+Down clock wake fades the light in (Frontlight.begin), draws the clock (Half when no retained panel frame, else Fast), and on release draws the next sleep screen before frontlightFadeOutForSleep(). With Flash Duck on, each flashing refresh started a duck whose steps retarget the running fade and then dip and restore the light, so a few-second peek pumped the light up to twice before the fade-out.

The duck now never starts on a clock wake (wallpaperChordWake), in both its start check and flashDuckPending(), so the 10 ms duck timer doesn't arm either. The clock boot always ends in deep sleep, so nothing else is affected.

Not checked on the device: no log of a clock wake with the light on exists yet.

🤖 Generated with Claude Code

The clock wake fades the light in, then draws the clock and, on release,
the next sleep screen. Each flashing refresh started a duck that dipped
the light and brought it back, so the short peek pumped the light twice
before the sleep fade-out. The clock wake now never ducks.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@prokrypt prokrypt self-assigned this Nov 11, 2026
@prokrypt
prokrypt enabled auto-merge (squash) November 11, 2026 20:29
@prokrypt prokrypt closed this Nov 11, 2026
auto-merge was automatically disabled November 11, 2026 22:03

Pull request was closed

@prokrypt prokrypt reopened this Nov 11, 2026
@prokrypt
prokrypt enabled auto-merge (squash) November 11, 2026 22:05
@prokrypt
prokrypt merged commit 22767ca into main Nov 11, 2026
17 checks passed
@prokrypt
prokrypt deleted the fix/chord-clock-light branch November 11, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant