Skip to content

[Bug] Keyboard shortcut for Duplicate is being incorrectly represented #5155

Closed

Description

@marc-lelacheur-gns

Description

In the MarkText WYSIWYG editor the context menu beside any block shows symbols for Shift+Ctrl+P for Duplicate and while clicking this option works, that Keyboard Shortcut is incorrect.

Shift+Ctrl+P brings up the Command Palette which says that Duplicate is actually Ctrl+Alt+D (the verified working keyboard shortcut on Windows).

The Docs page for Windows Key Bindings shows Ctrl+Shift+P for Duplicate too.

In the Window's Edit menu the shortcut is displayed as Alt+Ctrl+D too. It would be great if all of these references to the shortcut could be aligned to use the same key order, as much as possible.

Topic-related questions not relevant to the bug report:

  • Is there anywhere that the keyboard shortcut symbols are listed like in a Glossary in case anyone is unfamiliar with the symbols for Shift and Ctrl?
  • Is it possible to show the spelled-out shortcut as a floating element (I.E. like the title attribute in HTML) when you mouse over the shortcut in the context menu?
  • What is the keyboard shortcut symbol for Alt?

Steps to Reproduce

  1. Go to a block of text in the WYSIWYG editor
  2. Mouse over and click on the block's context-sensitive icon in the left margin
  3. See the Duplicate command in this menu

Expected Behavior

The correct keyboard shortcut should be shown.

Actual Behavior

An incorrect keyboard shortcut is shown.

Screenshots / Logs

WYSIWYG block-context menu:
Image

WYSIWYG command palette:
Image

Window's Edit commands list:
Image

Operating System

Windows

MarkText Version

0.19.1

OS Version

Windows 11 Enterprise 25H2 26200.9106

Reproducibility

  • I can reliably reproduce this issue

Activity

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