Skip to content

[Bug] Can't save shortcut settings #5117

Closed as not planned
Closed as not planned

Description

@Alextan771

Description

Can't save keyboard shortcuts in preferences

Steps to Reproduce

文件/偏好设置/快捷键
所有的快捷键都无法修改和保存

Expected Behavior

修改和保存快捷键

Actual Behavior

修改之后无法保存

Screenshots / Logs

No response

Operating System

macOS

MarkText Version

v0.19.1

OS Version

windows11

Reproducibility

  • I can reliably reproduce this issue

Activity

  1. Jocs commented on Oct 26, 2026

    @Jocs
    Member

    Thanks for reporting this, @Alextan771. I retested the Preferences → Keybindings workflow with a fresh user-data directory in the current 0.24.0-dev build (PR #5887, commit 377fa673), on macOS 27.2 arm64 / Electron 42.1.0.

    The checks passed:

    • Edit a shortcut in Preferences, record the combination, press Enter to confirm it, then click Save.
    • Verify the new value is written to keybindings.json and updates open editor windows.
    • Unbind a command, save, restore its default and save again.
    • Restart the application with the same profile and verify custom bindings and unbound entries persist.
    • Verify conflicting combinations are rejected separately from saving valid changes.

    These are covered by the Electron integration tests, which passed again during this retest. The restart check saves through the same settings IPC handler; the Preferences editing / Save / Unbind / Reset controls are also exercised directly.

    I cannot reproduce the reported inability to modify or save shortcuts in this current build, so I am closing this as not reproducible. This does not establish the cause of the original v0.19.1 failure: that historical Windows 11 environment was not retested, and the report also lists macOS.

    If it still happens with a current build, please comment with the exact version and OS, the command and key combination being changed, and any error shown when clicking Save, so we can reopen and investigate that environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions