Skip to content

Electron-based apps cause a huge system-wide lag on macOS 26 #48311

Closed

Description

@ToxicLand

Maintainer update

From @MarshallOfSound (#48311 (comment)):

Hey folks, anyone experiencing this issue can you please raise a Feedback (via Feedback Assistant) with Apple. Make sure you send it while the issue is occurring and ensure you include a sysdiagnose with your report (I think that's automatic now, but check the box if there's a box).

We need a lot more to go on and this is likely a macOS issue.

Preflight Checklist

Electron Version

37.3.1

What operating system(s) are you using?

macOS

Operating System Version

macOS 26 Tahoe RC

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

N/A, issue only persists since macOS 26

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

Smooth 120fps experience even when Electron-apps are open or not minimized

Actual Behavior

Using an M1 Max MacBook Pro, having Electron-based apps open / not minimized causes a huge lag.
CPU and GPU usage remains low, but if I have Discord and VS Code open, moving windows, scrolling is stuttery. It happens even when only Discord is open but it gets worse if I open a second Electron app.
This is kind of weird because while having Discord open and I'm in Chrome, the lag still occurs, but it's fixed if I minimize Discord (even though Chrome is fully in focus and maximized). This happens since upgrading to macOS 26 RC, macOS 15 didn't have this issue.
There is a similar lag if I open Settings - Wallpapers, moving the Settings window is laggy then (looks like 60fps instead of 120).

Testcase Gist URL

No response

Additional Information

No response

Activity

  1. added theissue type on Sep 12, 2025
  2. nikwen commented on Sep 14, 2025

    @nikwen
    Member

    Thanks for reporting!

    Would you be able to download Electron Fiddle and check if you see the same issue when running the example code that it shows when you launch it?

    If not, could you please use Electron Fiddle to create a small sample app that allows maintainers to reproduce this issue and upload it as a GitHub gist from Fiddle?

  3. electron-issue-triage commented on Sep 14, 2025

    @electron-issue-triage

    Hello @ToxicLand. Thanks for reporting this and helping to make Electron better!

    Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

    Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

    Now adding the blocked/need-repro Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

  4. pztrn commented on Sep 16, 2025

    @pztrn

    I can confirm this, using simultaneously latest versions of:

    • Ferdium
    • Bitwarden Desktop
    • VSCode
    • SiYuan
    • DeltaChat
    • Yandex Music
    • Jitsi Meet

    When:

    • I shut them all down - no lags, no excessuve GPU usage by WindowServer process, no UI lags.
    • I starting at least one of them GPU usage starts spiking from 0 to 25%, UI lags starts to appear.
    • All launched and in foreground GPU usage is 100% and UI is laggy across all OS.
    • Everything is started but minimized - GPU usage near zero, no UI lags.
    • Everything is minimized, active call in Jitsi Meet with PiP shown - GPU usage spiking from 0 to 25%, no significant UI lags.

    This looks like core Electron problem, I see no point trying to fiddle with Fiddle (😅), just use macOS Tahoe and start 2+ Electron-based apps, open System Monitor and you'll see.

    I'm on macbook pro with M4 CPU.

    Also noticed an interesting effect - if app tabs is enabled and e.g. 3 instances of VSCode and they shown in one window there are artifacts in form of vertical lines drawn on app tabs (not editor tabs). Probably this should be separate issue, but that is how it looks like:

    video_2025-09-16_18-07-40.mp4
  5. avarayr commented on Sep 16, 2025

    @avarayr
    Contributor

    Just another data point, Cursor IDE (electron) also spikes GPU to 100% and fans flare up to max while using it, I couldn't nail down what exactly causes this.
    Would be cool if we found this is a broad electron issue rather than an app-specific issue, since it's been happening to a lot of electron-based apps for me.

    macbook pro m1, 32gb, macos 26 tahoe

  6. nikwen commented on Sep 16, 2025

    @nikwen
    Member

    Thanks for chiming in!

    Could you please still test if the example app from Electron Fiddle is enough to reproduce this? We need code to investigate this further.

  7. pztrn commented on Sep 16, 2025

    @pztrn

    Opening Fiddle is enough. No need to run example.

    Image
  8. 74 remaining items

  9. 72media-public commented on Sep 25, 2025

    @72media-public
  10. avarayr commented on Sep 25, 2025

    @avarayr
  11. schwa commented on Sep 25, 2025

    @schwa
  12. renaudguerin commented on Sep 25, 2025

    @renaudguerin
  13. avarayr commented on Sep 25, 2025

    @avarayr
  14. MarshallOfSound commented on Sep 25, 2025

    @MarshallOfSound
    Member

    Hey folks, appreciate everyone's input on this thread, we're going slightly off track now so we're going to lock this thread for the next ~24 hours.

    We are looking into this further.

    Thanks to everyone who spent a lot of time looking into this somewhat arcane issue 🙇

  15. locked as too heated and limited conversation to collaborators on Sep 25, 2025
  16. nikwen commented on Sep 26, 2025

    @nikwen
    Member

    Thanks to everyone who contributed to a fix! As maintainers, we appreciate it. :)

  17. VerteDinde commented on Sep 29, 2025

    @VerteDinde
    Member

    The specific Electron versions that contain the fix for the issue are v39.0.0-alpha.7, v38.2.0, v37.6.0 and v36.9.2 🙇‍♀️

  18. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 38-x-yon Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions