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

Error screen shown while navigating the sidebar with the arrow keys #11190

Open
personalizedrefrigerator opened this issue Oct 10, 2024 · 0 comments
Labels
bug It's a bug

Comments

@personalizedrefrigerator
Copy link
Collaborator

Operating system

Linux

Joplin version

3.1.17

Desktop version info

Joplin for Desktop

Copyright © 2016-2024 Laurent Cozic
Joplin 3.1.17 (prod, linux)

Client ID: e4129541ac704c74bd240b36e450e556
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: 3ea403d

Backup: 1.4.2
Diff view: 0.1.1
Extra Markdown viewer settings: 0.4.0
Freehand Drawing: 2.11.0

Current behaviour

While quickly navigating the sidebar with the arrow keys, Joplin 3.1.17 experienced an uncaught error:

Error
Joplin encountered a fatal error and could not continue.

To report the error, please copy the *entire content* of this page and post it on Joplin forum or GitHub.

If the error persists you may try to [restart in safe mode](https://github.com/laurent22/joplin/issues/new?assignees=&labels=bug&projects=&template=BUG_REPORT.yml#), which will temporarily disable all plugins.

Message
Runtime is not registered for command textBold

Version info
Joplin for Desktop

Copyright © 2016-2024 Laurent Cozic
Joplin 3.1.17 (prod, linux)

Client ID: e4129541ac704c74bd240b36e450e556
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: 3ea403d

Backup: 1.4.2
Diff view: 0.1.1
Extra Markdown viewer settings: 0.4.0
Freehand Drawing: 2.11.0
Plugins
[
    {
        "id": "io.github.jackgruber.backup",
        "name": "Backup",
        "enabled": true,
        "version": "1.4.2"
    },
    {
        "id": "io.github.personalizedrefrigerator.diff-view",
        "name": "Diff view",
        "enabled": true,
        "version": "0.1.1"
    },
    {
        "id": "io.github.personalizedrefrigerator.note-viewer-settings",
        "name": "Extra Markdown viewer settings",
        "enabled": false,
        "version": "0.4.0"
    }
]
Stack trace
Error: Runtime is not registered for command textBold
    at CommandService.commandByName (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:93:19)
    at ToolbarButtonUtils.commandToToolbarButton (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/@joplin/lib/services/commands/ToolbarButtonUtils.js:32:38)
    at ToolbarButtonUtils.commandsToToolbarButtons (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/@joplin/lib/services/commands/ToolbarButtonUtils.js:61:30)
    at Function.mapStateToProps [as mapToProps] (/tmp/.mount_JoplindCt9Zy/resources/app.asar/gui/NoteEditor/NoteBody/CodeMirror/Toolbar.js:50:48)
    at mapToPropsProxy (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/react-redux/lib/connect/wrapMapToProps.js:59:92)
    at handleNewState (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/react-redux/lib/connect/selectorFactory.js:52:28)
    at handleSubsequentCalls (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/react-redux/lib/connect/selectorFactory.js:66:30)
    at pureFinalPropsSelector (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/react-redux/lib/connect/selectorFactory.js:71:32)
    at checkForUpdates (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/react-redux/lib/components/connect.js:109:23)
    at subscribeUpdates (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/react-redux/lib/components/connect.js:143:3)
Component stack

    at ConnectFunction (/tmp/.mount_JoplindCt9Zy/resources/app.asar/node_modules/react-redux/lib/components/connect.js:246:74)
    at div
    at div
    at ErrorBoundary (/tmp/.mount_JoplindCt9Zy/resources/app.asar/gui/ErrorBoundary.js:21:9)
    at CodeMirror (/tmp/.mount_JoplindCt9Zy/resources/app.asar/gui/NoteEditor/NoteBody/CodeMirror/v6/CodeMirror.js:52:44)
    at div
    at div

To reproduce (but not reliably):

  1. Create a new profile
  2. Create two notebooks:
    • _Test
    • Empty
  3. Create a single note in _Test
  4. Focus Trash
  5. Hold the ArrowUp key until "NOTEBOOKS" header has focus.
  6. Hold the ArrowDown key until the "TAGS" header has focus.
  7. Repeat steps 5-6 until a crash occurs.

Expected behaviour

Joplin should not crash due to an unregistered command runtime while navigating with the keyboard.

Logs

No response

@personalizedrefrigerator personalizedrefrigerator added the bug It's a bug label Oct 10, 2024
@personalizedrefrigerator personalizedrefrigerator changed the title Error while navigating the sidebar with the arrow keys Error screen shown while navigating the sidebar with the arrow keys Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

1 participant