Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App throws an unexpected error and freezes after I modified a few key bindings in options #3106

Closed
idontwantagirlfriend opened this issue Mar 7, 2022 · 1 comment

Comments

@idontwantagirlfriend
Copy link

Description

An unexpected error occurred in the main process.

The app crashed on starting, after I modified a few key bindings in options.

I saved them correctly and tried them, only to notice that they didn't take effects immediately. As I decided to relaunch the app, it crashed. It hasn't been launching successfully since then. Restarting the app / the pc didn't help.

  • The error screen:
    error

  • After entering the main screen, it freezes: (Calling preference palette by shortcut didn't work either)
    after

Stack Trace

Error: Invalid state: all arguments must be non-null.
    at Object.register (C:\Program Files\MarkText\resources\app.asar\node_modules\@hfelix\electron-localshortcut\src\electron-localshortcut.js:167:11)
    at Object.registerKeyHandlers (C:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:288839)
    at Object.addEditorMenu (C:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:295113)
    at Xt.createWindow (C:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:254198)
    at Object._createEditorWindow (C:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:302982)
    at App.<anonymous> (C:\Program Files\MarkText\resources\app.asar\dist\electron\main.js:2:300927)
    at App.emit (node:events:394:28)

Version

MarkText: v0.17.0
Operating system: Windows_NT x64 10.0.19043 (win32)

@fxha
Copy link
Contributor

fxha commented Mar 7, 2022

Duplicate of #3074.

@fxha fxha closed this as completed Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants