You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unexpected error: Cannot read properties of null (reading 'isMinimized') #4137
🍏 platform/macOSPull request or issue on macOS🐛 bugSomething isn't working🐞 pri/criticalBugs which cause the Mark Text crash or unable to continue normal use
TypeError: Cannot read properties of null (reading 'isMinimized')
at Xt.bringToFront (/Applications/MarkText.app/Contents/Resources/app.asar/dist/electron/main.js:2:251835)
at Object.<anonymous> (/Applications/MarkText.app/Contents/Resources/app.asar/dist/electron/main.js:2:254332)
at Object.onceWrapper (node:events:514:26)
at Object.emit (node:events:406:35)
Version
MarkText: v0.17.1
Operating system: Darwin x64 25.3.0 (darwin)
🍏 platform/macOSPull request or issue on macOS🐛 bugSomething isn't working🐞 pri/criticalBugs which cause the Mark Text crash or unable to continue normal use
Activity
Jocs commentedon May 23, 2026
Closing — this was fixed in the main-process refactor.
bringToFrontinsrc/main/windows/base.ts:85now short-circuits when the underlying BrowserWindow has been destroyed before the IPC handler fires:so the null
isMinimized/webContentsderef from your stack trace can no longer happen.If you still see this on a recent build, please reopen with the exact version and the window-management steps that triggered it.