Mohamed Elashri

Electron apps macOS system lag bug

Several days ago, I noticed that my macOS is having lag issues, I didn't know what is causing it. I thought it was an issue with the update. I updated from the first day the release and this is bold. But I don't remember when I first saw that people linked this issue to Electron apps. I thought it was a bug on macOS itself. Probably it was on the orange website. Anyhow, today I saw on the orange website frontage a submission called Detect Electron apps on Mac that hasn't been updated to fix the system-wide lag, and it was about a bash script that will check for apps that use Electron framework version that has the bug which is everything before these version v39.0.0-alpha.7, v38.2.0, v37.6.0 and v36.9.2. I ran the script, and it found that I have several apps that are using the buggy Electron version. The apps are:

❌ Mattermost.app: Electron 37.4.0 
❌ SiYuan.app: Electron 37.4.0
❌ MonsterWriter.app: Electron 30.0.6
❌ Visual Studio Code.app: Electron 37.3.1
❌ Docker.app: Electron 37.2.6
❌ Claude.app: Electron 37.5.1
❌ Qoder.app: Electron 34.5.1
❌ Podman Desktop.app: Electron 37.2.6
❌ Windsurf.app: Electron 34.4.0
❌ Cursor.app: Electron 34.5.8
❌ 1Password.app: Electron 37.3.1
❌ Hyper.app: Electron 20.3.6
❌ Haystack Editor.app: Electron 29.4.0
❌ Tabby.app: Electron 37.3.1
❌ Obsidian.app: Electron 37.3.1
❌ Bitwarden.app: Electron 36.8.1
❌ dyad.app: Electron 35.1.4
❌ GitKraken.app: Electron 34.5.2
❌ Wave.app: Electron 38.1.0
❌ Discord.app: Electron 35.3.0
❌ WD Discovery.app: Electron 20.3.8
❌ Trae.app: Electron 34.5.1
❌ Keybase.app: Electron 28.3.1
❌ Termius.app: Electron 21.4.4
❌ Slack.app: Electron 38.1.2
❌ MstyStudio.app: Electron 37.2.6

My first reaction was wow, I have many Electron apps. I didn't know that I have so many. But my first thought was that I need to remove many of them and revise why I installed others. I don't use many of them. I use only a few of them regularly. So I started removing the ones that I don't use. I removed:

  • MonsterWriter
  • Haystack Editor
  • MstyStudio
  • WD Discovery
  • dyad

Now some other apps that I question their usage are:

  • Qoder (New VSCode fork with generous LLM credits, but I haven't tried it yet)
  • Cursor (My dependency for MS C/C++ extensions is great, and they don't work outside VSCode)
  • Trae. (Trae is a new app that I haven't used much yet, but it is a VSCode fork with generous LLM credits)
  • Hyper (Terminal emulator)
  • Tabby (Another Terminal emulator)
  • wave (Terminal emulator I like it but use iTerm2 mainly)
  • Podman Desktop (I use Podman CLI, but I use it rarely)
  • Docker Desktop (I'm in transition mode to Podman, so I don't use it much)
  • GitKraken (I use it rarely, and mainly I use its VSCode integration, but I like it)
  • Termius (Although I use it regularly, the fact they are on this old Electron version is a red flag, and I think xpipe is a better alternative)
  • Obsidian (I moved to SiYuan, but I kept it for archive purposes, but I can remove it)

But there are some apps that I use regularly, and I can't remove them. These apps are:

  • Visual Studio Code (My main IDE)
  • 1Password (My password manager)
  • Mattermost (My main communication app we use at CERN)
  • Slack (My funding institution uses it)
  • Discord (I use it for some communities and communication with friends)
  • Bitwarden (My secondary password manager)
  • Claude (My main AI assistant app)
  • SiYuan (My main note-taking app)
  • Keybase (I use it for some secure communications, and it is important as backup for my PGP keys)
  • Windsurf (I'm on their cheap student plan, just in case my Copilot quota is exhausted)

On a bright side, at least today SiYuan released a new version today that updated the Electron framework version to v37.6.0, and now it is the first and only app that is fixed on this list. I hope other apps will follow soon.