Skip to content

Shortcut name more than 64 characters makes an empty name #9556

@donho

Description

@donho

Description of the Issue

Shortcut name more than 64 characters makes an empty name

Steps to Reproduce the Issue

  1. Open shortcuts.xml by using notepad.exe
  2. Add a command node in the file, save it and quit notepad.exe:
<Command name="noaksdlkasjdfsfsdfsdfsdfsdfsdfsdfsdgfsdffssdaqwekawkeawerjerwerjwerlaaskdjalsdjalskdjalsdjalskdjasld" Ctrl="no" Alt="yes" Shift="no" Key="111">http://www.php.net/$(CURRENT_WORD)</Command>
  1. Open Notepad++, check the command in "Macro" menu

Expected Behavior

a command with noaksdlkasjdfsfsdfsdfsdfsdfsdfsdfsdgfsdffssdaqwekawkeawer displayed.

Actual Behavior

a command with empty name displayed.

Debug Information

Notepad++ v7.9.3 (32-bit)
Build time : Feb 21 2021 - 19:47:38
Path : X:\notepad-plus-plus\PowerEditor\bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 2004
OS Build : 19041.804
Current ANSI codepage : 1252
Plugins : DSpellCheck.dll HexEditor.dll LuaScript.dll mimeTools.dll NppConverter.dll NppExport.dll SessionMgr.dll XMLTools.dll

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