Remix.run Logo
altairprime 10 hours ago

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.

mikamika83 8 hours ago | parent | next [-]

GPU load bug and Autofill bug are two separate, completely unrelated issues.

altairprime 8 hours ago | parent [-]

I’m happy to refer to a better workaround if you have one?

mikamika83 8 hours ago | parent [-]

1. workaround for high GPU load by Electron apps (what this HN thread is about) — see the command here: https://github.com/electron/electron/issues/48311#issuecomme...

2. unrelated workaround for scroll bug - defaults write com.google.Chrome NSAutoFillHeuristicControllerEnabled -bool false

altairprime 7 hours ago | parent [-]

Too late to edit now, but yep, the launchctl headless workaround works around Electron lagging the system, and the scroll bug works around macOS lagging the system. Thanks!

ThePowerOfFuet 10 hours ago | parent | prev [-]

>hxxps://x.com/ian_mcdowell/status/1967326413830472191 (apologies for the Twitter link, but it’s an Apple employee)

https://xcancel.com/ian_mcdowell/status/1967326413830472191

FTFY :)

altairprime 10 hours ago | parent [-]

“And yet”, she persisted, “my apology remains necessary.”