AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 15 Monero

[ui perf] pause animations in hidden dashboard tabs (#3806)

Public commit record

What the developer wrote

Authored by malik1004x

81/100 · Strong
[ui perf] pause animations in hidden dashboard tabs (#3806)

* pause animations in hidden dashboard tabs

IndexedStack keeps tickers running in its hidden children, so the Charts tab's loading spinner (the tab stays in ChartsInitial until it is first opened) redrew the whole dashboard at 120fps after every launch. Each tab is now wrapped in TickerMode, so its animations pause while another tab is shown.

Measured on a Redmi Note 12 (120Hz, profile build): idle Home went from ~120 frames/s to none, and the full jank scenario rendered 30% fewer frames with 31% fewer janky ones (2586 -> 1774).

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

* unwrap TickerMode in the integration robots' front-tab checks

The dashboard's IndexedStack children are now TickerMode wrappers, so
HomePageRobot.isInFront and WalletListPageRobot._isShowing never matched
NewHomePage / WalletListPage and every tier0 suite failed with "The home
tab never came to the front".

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Omar <omarh.ismail1@gmail.com>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit is a straightforward user-interface performance fix. It wraps each tab of the app's main dashboard in a Flutter widget called TickerMode, which pauses animations in tabs that are not currently visible. Before the change, a loading spinner on the hidden Charts tab was continuously redrawing the whole dashboard at up to 120 frames per second, wasting battery and causing visual stutter. The change also updates two automated test helpers so they can still find the correct tabs now that each is wrapped in TickerMode. There is no security relevance in this change.

Recommended action

No security action needed. Treat as a normal UI performance improvement.

Security signals we found

No strong security signals were identified.

Risk score

Why this scored 15/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 0/15
Confidence 10/10
Evidence quality 5/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.