Skip to content

High CPU usage (up to 40-50%) in WebView2 due to infinite background blur/aurora animations (even in tray) #42

Closed

Description

@ripton06

First of all, huge thanks for v1.0.0 and for implementing the community feature requests so quickly! The update is awesome.

However, after updating to v1.0.0, we noticed very high CPU utilization by Microsoft Edge WebView2 on modest / dual-quad core systems, causing high fan noise and CPU heating even while the application is completely idle or minimized to the tray.

Symptoms

In Windows Task Manager, the WebView2 processes (msedgewebview2.exe) consume ~45% – 50% CPU continuously:

  • WebView2: Multron Download Manager (Renderer): ~37% CPU
  • WebView2 GPU Process: ~12% CPU

Task Manager Screenshot

Root Cause

  1. Infinite heavy Gaussian Blur (aurora):
    In frontend/src/style.css, .app-root::before continuously runs @keyframes aurora over three radial gradients with filter: blur(30px). Calculating a 30px Gaussian blur on a full-viewport animated surface at 60 FPS creates massive overhead for Chromium's software/integrated GPU rasterizer.
  2. Animations do not pause in Tray:
    When the app is minimized to the system tray (window.hide()), WebView2 does not automatically suspend GPU-accelerated CSS animations, so the renderer keeps drawing the blur in the background non-stop.

Suggested Solutions

  1. Consider disabling heavy effects by default (or setting Animations to Off / Moving background light (aurora) unchecked by default on fresh installs), letting users opt-in if their hardware permits.
  2. Pause rendering / animations when minimized to tray: Add a class (e.g. motion-off or paused) to :root when window.hide() is called, or suspend them when the window is not visible/occluded.
  3. Replace the animated CSS filter: blur(30px) with a pre-blurred static asset or a lighter gradient trick that doesn't trigger continuous repaints.

As soon as Animations are switched to Off in Settings, CPU usage instantly drops back to 0.0% - 0.2%, confirming this as the exact culprit.

Thanks again for all your hard work!

Pinned by iemirakman

Activity

  1. github-actions commented on Nov 21, 2026

    @github-actions

    Hi @ripton06, thank you for contributing to Multron Download Manager!

    🤖 Automated Triage Report

    Field Detected
    Type enhancement
    Component ui-ux, packaging
    Platform windows
    App Version v1.0.0

    This issue has been queued for maintainer review. Once @iemirakman or @winball501 responds, the triage status will update automatically.

  2. added
    bugSomething isn't working
    and removed
    enhancementNew feature or request
    area: packagingInstallers and package managers
    on Nov 21, 2026
  3. added theissue type on Nov 21, 2026
  4. added this to the v1.0.1 milestone on Nov 21, 2026
  5. iemirakman commented on Nov 21, 2026

    @iemirakman
    Member

    Thank you for the thorough profiling and root-cause breakdown @ripton06!

    All of the points you raised were addressed in v1.0.1 (commit e6bc859):

    • Looping effects off by default: Continuous animations (including the moving background light / aurora effect) are now disabled by default on fresh installs and turned off once upon updating (they can still be re-enabled anytime under Settings → Appearance → Animations).
    • Zero idle & tray CPU usage: Remaining animations now automatically pause when the window is unfocused, minimized, closed to the tray, or after 10 seconds of inactivity, dropping idle CPU usage down to ~0%.
    • One-time blur & tray memory optimization: Background blur is now computed once upon loading rather than on every redraw, and WebView2 is signaled as hidden when minimized to the tray to minimize resource usage.

    Please update to the latest release (v1.0.2) and let us know if you notice any remaining overhead. Closing this issue as completed.

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

Metadata

Metadata

Assignees

Labels

area: ui-uxSvelte frontend, themes, trays, localizationbugSomething isn't workingos: windowsWindows specific

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions