Skip to content

Custom menu-bar reset tokens do not schedule their own refreshes #2299

Description

@vincent-peng

Summary

Custom menu-bar layouts can render Reset Countdown and Reset Time, but their refresh scheduling is still derived from legacy display-mode settings. With a custom reset layout and the default legacy Percent mode, the displayed reset value can stop updating.

Source path

  • MenuBarLayoutRenderer renders both reset tokens from the active provider reset date.
  • StatusItemController+CountdownRefresh schedules refresh work only when legacy brand/percent display settings select reset-time behavior.
  • The custom-layout path recognises Reset Countdown for displayed dates, but the surrounding legacy-mode gate prevents scheduling; Reset Time is not included in that displayed-reset-token check.

Reproduction

  1. Save a custom menu-bar layout containing Reset Countdown or Reset Time.
  2. Leave the legacy menu-bar display mode at its default Percent value.
  3. Observe the label across a minute boundary, or until the reset boundary is crossed.

Expected behavior

A reset token in the active custom layout should refresh independently of unused legacy display-mode settings.

Suggested acceptance criteria

  • Derive reset refresh scheduling from active custom-layout tokens when a custom layout is in use.
  • Cover custom Reset Countdown and Reset Time layouts while the legacy display mode remains Percent.
  • Cover the absolute-reset boundary refresh as well as countdown updates.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions