Skip to content

[BUG] Undocumented and unconfigurable keyboard shortcut inserts control character #16326

@atamasco

Description

@atamasco

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

There seems to be an undocumented and unconfigurable keyboard shortcut CTRL+SHIFT+D that inserts the invisible control character EOT at cursor position. This breaks scripts with obscure error messages since control character are usually set to invisible.

Tested on 2 different installations with different addons on Windows 10 and Windows 11.

Steps To Reproduce

  1. Run latest Notepad++ and create a new sheet
  2. Ensure that View → Show Symbol → Show Control Characters & Unicode EOL is disabled
  3. Press the keys CTRL+SHIFT+D, note that is seems as if this had no effect
  4. Enable the setting from step 2
  5. Note that the control character EOT is displayed as first character
  6. Open Settings → Shortcut Mapper... and use "CTRL+SHIFT" as Filter expression
  7. Note that it seems that CTRL+SHIFT+D seems unassigned while it's clearly not

Current Behavior

An invisible control character is inserted by an undocumented keyboard shortcut.

Expected Behavior

Either the keyboard shortcut should not exist or it should be configurarble via the settings dialog.

Debug Information

��Notepad++ v8.7.5   (64-bit)
Build time : Dec 21 2024 - 05:13:03
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
Placeholders : OFF
DirectWrite : OFF
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 22H2
OS Build : 19045.5608
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)

Anything else?

No response

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