Skip to content

[BUG] Clear shortcut = insert ETB #15839

@Josephur

Description

@Josephur

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

I wanted to disable the CTRL-W shortcut as I switch between nano and notepad++ and I was constantly closing files in notepad++ on accident. So I went into the shortcut mapper, and right clicked the Close shortcut and cleared it. But now when I press CTRL+W it inserts the special character ETB?

Steps To Reproduce

  1. Click Settings, Shortcut Mapper
  2. Right click on the Close CTRL-W shortcut and click Clear
  3. Press CTRL-W with a document open

Current Behavior

ETB is inserted into document when a key mapping is not even defined for CTRL-W

Expected Behavior

ETB should not be inserted, nothing should happen as the shortcut is cleared. The input should just be ignored by notepad++

Debug Information

Notepad++ v8.7   (64-bit)
Build time : Sep 17 2024 - 17:06:31
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : C:\Users\Josephur\AppData\Local\Temp\fz3temp-2\mm.php
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit)
OS Version : 24H2
OS Build : 26100.2314
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