Skip to content

[BUG] Shortcuts missinterprets '/' as ';' on ABNT2 keyboard layout #15966

@Gusgo99

Description

@Gusgo99

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

If a shortcut including the key ; (semicolon) is pressed when using an ABNT2 layout keyboard, the shortcut won't get activated. However, replacing the key ; with / in the shortcut configuration will cause it to get activated when the original shortcut (using the ; key) is pressed.
The behavior can be reproduced via the windows virtual keyboard.
Changing the keyboard layout to a UK keyboard fixes the issue.

Steps To Reproduce

  1. Add ABNT2 to the list of keyboard set up for the system and set it as the current layout;
  2. Add shortcut A, activated by pressing "Ctrl+/" (make sure there are no conflicts);
  3. Add shortcut B, activated by pressing "Ctrl+;" (make sure there are no conflicts);
  4. Press "Ctrl+/" in editor;
  5. Press "Ctrl+;" in editor.

Current Behavior

Pressing "Ctrl+/" activates no shortcuts.
Pressing "Ctrl+;" activates shortcut A, which was set to be activated by "Ctrl+/".

Expected Behavior

Pressing "Ctrl+/" activates shortcut A.
Pressing "Ctrl+;" activates shortcut B.

Debug Information

Notepad++ v8.5.7   (64-bit)
Build time : Sep  6 2023 - 23:13:49
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Users\username\Downloads\script.py" 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.5247
Current ANSI codepage : 1252
Plugins : 
    ComparePlugin (2.0.2)
    mimeTools (2.9)
    NppConverter (4.5)
    NppExport (0.4)

Anything else?

No response

Metadata

Metadata

Assignees

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