32 comments

[ 7.4 ms ] story [ 60.3 ms ] thread
https://github.com/electron/electron/issues/48311#issuecomme...

If this comment is to be believed, it's not Apple's fault. It's the apps mucking around with the internals of AppKit.

This example just happens to illustrate two of my least favorite software engineering practices: (1) despite one piece of code making a method private, another piece of code still overrides it/modifies it/calls it, an affront to the idea of encapsulation; (2) a piece of code has different behavior depending on the identity of a function, contrary to the principle of extensionality.

To be fair, AppKit is buggy/undocumented enough that you need to muck with the internals even for trivial things.
Don't Electron-based apps cause lag on basically any system?
Discord and VSCode work smoothly for me on an M4 MBP -- not sure if it's a compatibility difference or just performance hiding the problem, though.

But Spotlight file search is completely broken, rebuilding the index doesn't help, and web results are the only thing it returns. After 20 years of intense research, Apple finally caught up to Microsoft in race to make search broken and useless.

Finda <https://keminglabs.com/finda/> is the best file search I've seen for macOS. (Incidentally, it has an Electron UI.)

Doesn't seem to be updated for Tahoe yet, and even the Sequoia version isn't notarized, so it's not really clear if it has a future.

I was just noticing the stuttering and lag but I hadn’t tracked it down to electron yet.
FWIW haven't experienced this at all on an M4 Max (with Slack and VSCode open).
(comment deleted)
I’m surprised to see so little pushback in press to iOS/macOS 26.

I’ve been part of the public beta and it’s been so weird going from “this sucks but it’s a first beta” through “it really isn’t improving much as time goes by” to “we’re a week from launch, there’s no way they release this after the Apple Intelligence fiasco”.

And yet here we are. Performance issues, ui inconsistencies and garish design everywhere.

Notes from the Google bug tracker linked by the GitHub issue: applying this command to each Chrome/Chromium app impacting your system will workaround the underlying macOS resource leak (EDIT: which only occurs when Electron mucks with private APIs to fake having native UI):

    defaults write com.google.Chrome NSAutoFillHeuristicControllerEnabled -bool false
https://issues.chromium.org/issues/446481994#comment17

That command’s equivalent is being patched into Chrome and will have to ripple downward into Electron apps; directing complaints to each electron app impacted with a link to the relevant Google issue workaround will give them sufficient data to mitigate it, if they bother to.

Apple is already aware — https://x.com/ian_mcdowell/status/1967326413830472191 (apologies for the Twitter link, but it’s an Apple employee). EDIT: Someone else has traced the issue to Electron messing with internal OS APIs! Courtesy of https://news.ycombinator.com/item?id=45377253

> It turns out Electron was overriding a private AppKit API (_cornerMask) to apply custom corner masks to vibrant views.

ps. This issue was discussed a week ago here:

https://news.ycombinator.com/item?id=45292019

pps. Manually applying this workaround without scheduling its future removal has a slight but non-zero risk of someday breaking OS-linked autofill in your electron apps in weird or unexpected ways.

ppps. I don’t work for anyone, school for another three years minimum.

I'm a simple man, I see Electron I don't install.
Well, that's...Electron for you.

The most inefficient solution (in both space and time complexity) being suggested to build desktop apps is now shown to be causing widespread sluggishness.

So much for interviewing developers for algorithms and data structures. Also Rust won't save you or make Electron faster either.

This affects some of the most widely used applications on the platform, including "productivity" applications such as Slack that Apple uses internally. How did no-one at Apple notice this and do something about it prior to macOS 26 being released?
Anyone ever experience Zoom meeting lag that reproducibly connects with receiving a Mac notification?

I've had this issue on my M1 and now my M4 mac for about a year now, and I can't figure it out. Uninstalling and reinstalling hasn't helped.

Literally, someone can reliably send me a slack notification in a meeting (even when DND is on) and cause my Zoom outbound video to get gummed up.

Edit: I ask because I wonder if it has to do with this.

I started experiencing massive overheating issue on latest version of Zoom and on macOS 26 and now 26.1 beta as well. Haven't experienced what you're describing, it's really odd.
It seems odd that Apple could release an update that breaks common software, and not go to the trouble of at least contacting the developers of the software and discussing the issue.
Just imagine you are investigating a bug and everyone is trying to express their opnion on whose fault is this. What happened to not having a blaming culture?
If I'm not wrong it affects VS code hence Cursor, Kiro etc.

At least I notice fan going jet speeds with VSCode lately.

How difficult would it be just to switch to Swift for some of these apps?
Electron haters are going to have a field day over this (obviously it's not an electron issue, but why they care?).
Another great reason not to have upgraded to macOS 26.
One-liner for electron developers to fix the issue:

`browserwindow.setHasShadow(false)`

Thank you for this!

Could possibly just hotpatch my existing app, add this to the packed in javascript .asar resource file and not having to make a new build with updated Electron version.

Individuals used to make sophisticated native apps as shareware for $10 back in the 1990s and today big teams rely on crap like Electron. The enshittification of everything.
Well, back in the day you had 4 megs of ram, MS-DOS and other OSes that are simple as they come, and full access to the hardware.

These days if you want to support macOS, Windows, Linux: I say good luck to you, Electron can save you there.

Electron is not crap, but many javascript developers are crap. You can make fast and memory efficient apps in Electron, if you know how to code.

(Note: Slack or Discord developers don't have that skill)

Would never have imagined the day when using Chrome on my personal M3 Macbook would feel slower than my corporate Windows laptop.

I shouldn't have updated to MacOS Tahoe on my Macbook knowing that it was a .0 release. They need to fix this ASAP.