claude-code - 💡(How to fix) Fix Animated gradient still causes ~40% WindowServer CPU with prefersReducedMotion:true (regression / #25575 not fixed)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

The continuously-animated gradient bar at the top of the Claude Code UI redraws every frame at the display refresh rate, driving high WindowServer + terminal CPU on macOS. This was reported in #25575 and closed as resolved by prefersReducedMotion: true, but that setting does not disable the gradient — it only covers spinner shimmer / flash effects. Filing fresh per the note on that (now locked) issue.

Root Cause

The continuously-animated gradient bar at the top of the Claude Code UI redraws every frame at the display refresh rate, driving high WindowServer + terminal CPU on macOS. This was reported in #25575 and closed as resolved by prefersReducedMotion: true, but that setting does not disable the gradient — it only covers spinner shimmer / flash effects. Filing fresh per the note on that (now locked) issue.

Fix Action

Fix / Workaround

Summary

The continuously-animated gradient bar at the top of the Claude Code UI redraws every frame at the display refresh rate, driving high WindowServer + terminal CPU on macOS. This was reported in #25575 and closed as resolved by prefersReducedMotion: true, but that setting does not disable the gradient — it only covers spinner shimmer / flash effects. Filing fresh per the note on that (now locked) issue.

RAW_BUFFERClick to expand / collapse

Summary

The continuously-animated gradient bar at the top of the Claude Code UI redraws every frame at the display refresh rate, driving high WindowServer + terminal CPU on macOS. This was reported in #25575 and closed as resolved by prefersReducedMotion: true, but that setting does not disable the gradient — it only covers spinner shimmer / flash effects. Filing fresh per the note on that (now locked) issue.

prefersReducedMotion does not cover the gradient

  • Docs describe it as: "Reduce or disable UI animations (spinners, shimmer, flash effects) for accessibility."
  • The 2.1.158 binary's internal schema string is identical: "Reduce or disable animations for accessibility (spinner shimmer, flash effects, etc.)", and it is only wired into the spinner components — there is no statusBarAnimation/gradient gate.
  • With prefersReducedMotion: true set and verified loaded (fresh process started after the edit), the gradient still animates.

Measured impact (this machine, setting ON)

CPU
WindowServer~40–42%
iTerm2~11%

Matches #25575's reported 36–53% range. CPU returns to single digits when Claude Code is not running.

Steps to reproduce

  1. Set {"prefersReducedMotion": true} in ~/.claude/settings.json.
  2. Launch claude in iTerm2 (GPU/Metal renderer); confirm the setting is loaded.
  3. Observe the top gradient still animating; watch WindowServer in top/Activity Monitor.

Expected

A way to disable the gradient animation (e.g. a statusBarAnimationEnabled: false flag, extending prefersReducedMotion to cover it, or stopping frame submission when content is static — as Ghostty does, dropping it to 3–7%).

Environment

  • Claude Code 2.1.158
  • macOS 15.6.1 (24G90), Apple Silicon
  • iTerm2 3.6.10
  • Built-in Liquid Retina XDR (ProMotion, up to 120Hz), 3024×1964
  • Related: #25575 (closed/locked), possibly #22509

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Animated gradient still causes ~40% WindowServer CPU with prefersReducedMotion:true (regression / #25575 not fixed)