Skip to content

fix(desktop): restore smooth rotation in the compact activity notch - #1382

Merged
nixuuu merged 1 commit into
devfrom
perf/smooth-low-cpu-loader-spinner
Nov 28, 2026
Merged

nixuuu merged 1 commit into
devfrom
perf/smooth-low-cpu-loader-spinner

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 28, 2026

Copy link
Copy Markdown
Member

The compact Activity notch now shows a smooth, one-second rotation while the summary indicates work in progress. Chromium can composite the arc's transform independently. Hidden row labels stay idle, and the ring stops when another status takes priority or the user enables reduced motion.

Fixes: #1374

Verification

  • Exercised the overlay in Chromium on Linux with four working rows, including expansion, collapse, status changes and reduced motion. A two-second trace recorded 120 frames with no layout or paint events during steady rotation.
  • In the same setup, combined renderer and GPU process CPU time was about 4% of one core, compared with 8% when reproducing the ring and hidden label animations from before perf(desktop): stop continuous animation in the compact notch #1374. The static overlay measured near zero. Native macOS CPU usage still needs measurement.
  • Updated the Electron fixture to check which animations run and that the working arc rotates linearly. Native macOS and Windows integration runs are left to CI.
  • Formatting, lint on the edited TypeScript files and the diff whitespace check passed locally.

@nixuuu
nixuuu enabled auto-merge (squash) November 28, 2026 00:14
@nixuuu
nixuuu merged commit f939e26 into dev Nov 28, 2026
24 checks passed
@nixuuu
nixuuu deleted the perf/smooth-low-cpu-loader-spinner branch November 28, 2026 00:19
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