Open furiousmorse opened 2 months ago
It's not that they are not working, they are currently not existing (otherwise you would see the shortcuts underlined). So it's not a bug, it's a feature request.
It's not that they are not working, they are currently not existing (otherwise you would see the shortcuts underlined). So it's not a bug, it's a feature request.
It should be a bug, since the shortcut keys works in the "Find and Replace" interface.
This is the default behavior of popups. These letters are not shortcuts, when you bring up the popup and press some letter then:
If you want to have real shortcuts, use Settings > Shortcut Mapper
and set the combinations for command that you want.
for example in Classic Windows Notepad, the shortcut key works (c => Copy; u => Undo; p => Paste; t => Cut; a => Select All; d => Delete)
Is there an existing issue for this?
Description of the Issue
Context menu shortcut key not working in the Main Editor interface (but the shortcut keys works in the "Find and Replace" interface, see screenshot below), for example highlight some text in NP++ and right click to bring up the context menu, and the try to press "c" to copy the selection, it does not work, but only jump between all the options starts with "c", which jump between "cut" and "copy". If press "p" key, it will jump between "Paste" and "Plugin Commands".
Steps To Reproduce
shortcut keys works in the "Find and Replace" interface
Current Behavior
keep press "c" key, it will jump between "cut" and "copy"
Expected Behavior
press "c" key (normally it will be the shortkey for "copy") "t" key: Cut "p" key: Paste "c" key: Copy "d" key: Delete "a" key: Select All
Debug Information
Anything else?
Adding ACC dump of context menu in main interface and the one in "Find and Replace" interface, you should see the element [KeyboardShortcut: ] is not correctly set. I hope this help to solve the issue quickly.
===== begin of ACC dump of Main Interface Context Menu ====== RoleText: window Role: 9 [Location: {x:1475,y:466,w:474,h:876}] [Name: Context] [Value: ] [StateText: focusable] [State: 1048576] [Help: N/A] 1: RoleText: pop-up menu Role: 11 [Location: {x:1478,y:469,w:468,h:870}] [Name: Context] [Value: ] [StateText: focusable] [State: 1048576] [DefaultAction: N/A] 1,1: RoleText: menu item Role: 12 [Location: {x:1478,y:469,w:468,h:44}] [Name: Cut] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 1 1,2: RoleText: menu item Role: 12 [Location: {x:1478,y:513,w:468,h:44}] [Name: Copy] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 2 1,3: RoleText: menu item Role: 12 [Location: {x:1478,y:557,w:468,h:44}] [Name: Paste] [Value: ] [StateText: hot tracked] [State: 132] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: p] ChildId: 3 1,4: RoleText: menu item Role: 12 [Location: {x:1478,y:601,w:468,h:44}] [Name: Delete] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: d] ChildId: 4 1,5: RoleText: menu item Role: 12 [Location: {x:1478,y:645,w:468,h:44}] [Name: Select All] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: s] ChildId: 5 1,6: RoleText: menu item Role: 12 [Location: {x:1478,y:689,w:468,h:44}] [Name: Begin/End Select] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: b] ChildId: 6 1,7: RoleText: separator Role: 21 [Location: {x:1478,y:733,w:468,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 7 1,8: RoleText: menu item Role: 12 [Location: {x:1478,y:746,w:468,h:44}] [Name: Style all occurrences of token] [Value: ] [StateText: has pop-up] [State: 1073741824] [DefaultAction: Open] [KeyboardShortcut: s] 1,8,1: RoleText: pop-up menu Role: 11 [Location: {x:0,y:0,w:0,h:0}] [Name: N/A] [Value: ] [StateText: invisible] [State: 32768] [DefaultAction: N/A] [KeyboardShortcut: N/A] 1,8,1,1: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 1st Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 1 1,8,1,2: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 2nd Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 2 1,8,1,3: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 3rd Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 3 1,8,1,4: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 4th Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 4 1,8,1,5: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 5th Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 5 1,9: RoleText: menu item Role: 12 [Location: {x:1478,y:790,w:468,h:44}] [Name: Style one token] [Value: ] [StateText: has pop-up] [State: 1073741824] [DefaultAction: Open] [KeyboardShortcut: s] 1,9,1: RoleText: pop-up menu Role: 11 [Location: {x:0,y:0,w:0,h:0}] [Name: N/A] [Value: ] [StateText: invisible] [State: 32768] [DefaultAction: N/A] [KeyboardShortcut: N/A] 1,9,1,1: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 1st Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 1 1,9,1,2: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 2nd Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 2 1,9,1,3: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 3rd Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 3 1,9,1,4: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 4th Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 4 1,9,1,5: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Using 5th Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 5 1,10: RoleText: menu item Role: 12 [Location: {x:1478,y:834,w:468,h:44}] [Name: Remove style] [Value: ] [StateText: has pop-up] [State: 1073741824] [DefaultAction: Open] [KeyboardShortcut: r] 1,10,1: RoleText: pop-up menu Role: 11 [Location: {x:0,y:0,w:0,h:0}] [Name: N/A] [Value: ] [StateText: invisible] [State: 32768] [DefaultAction: N/A] [KeyboardShortcut: N/A] 1,10,1,1: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Clear 1st Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 1 1,10,1,2: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Clear 2nd Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 2 1,10,1,3: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Clear 3rd Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 3 1,10,1,4: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Clear 4th Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 4 1,10,1,5: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Clear 5th Style] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 5 1,10,1,6: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Clear all Styles] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 6 1,11: RoleText: separator Role: 21 [Location: {x:1478,y:878,w:468,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 11 1,12: RoleText: menu item Role: 12 [Location: {x:1478,y:891,w:468,h:44}] [Name: Plugin commands] [Value: ] [StateText: has pop-up] [State: 1073741824] [DefaultAction: Open] [KeyboardShortcut: p] 1,12,1: RoleText: pop-up menu Role: 11 [Location: {x:0,y:0,w:0,h:0}] [Name: N/A] [Value: ] [StateText: invisible] [State: 32768] [DefaultAction: N/A] [KeyboardShortcut: N/A] 1,12,1,1: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Base64 Encode] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: b] ChildId: 1 1,12,1,2: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Base64 Decode] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: b] ChildId: 2 1,12,1,3: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: Copy Text with Syntax Highlighting] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 3 1,13: RoleText: separator Role: 21 [Location: {x:1478,y:935,w:468,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 13 1,14: RoleText: menu item Role: 12 [Location: {x:1478,y:948,w:468,h:44}] [Name: UPPERCASE] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: u] ChildId: 14 1,15: RoleText: menu item Role: 12 [Location: {x:1478,y:992,w:468,h:44}] [Name: lowercase] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: l] ChildId: 15 1,16: RoleText: separator Role: 21 [Location: {x:1478,y:1036,w:468,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 16 1,17: RoleText: menu item Role: 12 [Location: {x:1478,y:1049,w:468,h:44}] [Name: Open File] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: o] ChildId: 17 1,18: RoleText: menu item Role: 12 [Location: {x:1478,y:1093,w:468,h:44}] [Name: Search on Internet] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: s] ChildId: 18 1,19: RoleText: separator Role: 21 [Location: {x:1478,y:1137,w:468,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 19 1,20: RoleText: menu item Role: 12 [Location: {x:1478,y:1150,w:468,h:44}] [Name: Toggle Single Line Comment] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: t] ChildId: 20 1,21: RoleText: menu item Role: 12 [Location: {x:1478,y:1194,w:468,h:44}] [Name: Block Comment] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: b] ChildId: 21 1,22: RoleText: menu item Role: 12 [Location: {x:1478,y:1238,w:468,h:44}] [Name: Block Uncomment] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: b] ChildId: 22 1,23: RoleText: separator Role: 21 [Location: {x:1478,y:1282,w:468,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 23 1,24: RoleText: menu item Role: 12 [Location: {x:1478,y:1295,w:468,h:44}] [Name: Hide Lines] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: h] ChildId: 24 ======End of ACC dump of Main Interface Context Menu========
====
======Begin of ACC dump of Find and Replace Interface Context Menu ====== RoleText: window Role: 9 [Location: {x:1572,y:724,w:510,h:542}] [Name: Context] [Value: ] [StateText: focusable] [State: 1048576] [Help: N/A] 1: RoleText: pop-up menu Role: 11 [Location: {x:1575,y:727,w:504,h:536}] [Name: Context] [Value: ] [StateText: focusable] [State: 1048576] [DefaultAction: N/A] 1,1: RoleText: menu item Role: 12 [Location: {x:1575,y:727,w:504,h:44}] [Name: Undo] [Value: ] [StateText: hot tracked] [State: 133] [DefaultAction: N/A] [Description: N/A] [KeyboardShortcut: u] ChildId: 1 1,2: RoleText: separator Role: 21 [Location: {x:1575,y:771,w:504,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 2 1,3: RoleText: menu item Role: 12 [Location: {x:1575,y:784,w:504,h:44}] [Name: Cut] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: t] ChildId: 3 1,4: RoleText: menu item Role: 12 [Location: {x:1575,y:828,w:504,h:44}] [Name: Copy] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: c] ChildId: 4 1,5: RoleText: menu item Role: 12 [Location: {x:1575,y:872,w:504,h:44}] [Name: Paste] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: p] ChildId: 5 1,6: RoleText: menu item Role: 12 [Location: {x:1575,y:916,w:504,h:44}] [Name: Delete] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: d] ChildId: 6 1,7: RoleText: separator Role: 21 [Location: {x:1575,y:960,w:504,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 7 1,8: RoleText: menu item Role: 12 [Location: {x:1575,y:973,w:504,h:44}] [Name: Select All] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] [KeyboardShortcut: a] ChildId: 8 1,9: RoleText: separator Role: 21 [Location: {x:1575,y:1017,w:504,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 9 1,10: RoleText: menu item Role: 12 [Location: {x:1575,y:1030,w:504,h:44}] [Name: Right to left Reading order] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: r] ChildId: 10 1,11: RoleText: menu item Role: 12 [Location: {x:1575,y:1074,w:504,h:44}] [Name: Show Unicode control characters] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: s] ChildId: 11 1,12: RoleText: menu item Role: 12 [Location: {x:1575,y:1118,w:504,h:44}] [Name: Insert Unicode control character] [Value: ] [StateText: has pop-up] [State: 1073741824] [DefaultAction: Open] [KeyboardShortcut: i] 1,12,1: RoleText: pop-up menu Role: 11 [Location: {x:0,y:0,w:0,h:0}] [Name: N/A] [Value: ] [StateText: invisible] [State: 32768] [DefaultAction: N/A] [KeyboardShortcut: N/A] 1,12,1,1: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: LRM Left-to-right mark] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: l] ChildId: 1 1,12,1,2: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: RLM Right-to-left mark] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: r] ChildId: 2 1,12,1,3: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: ZWJ Zero width joiner] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: j] ChildId: 3 1,12,1,4: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: ZWNJ Zero width non-joiner] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: n] ChildId: 4 1,12,1,5: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: LRE Start of left-to-right embedding] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: e] ChildId: 5 1,12,1,6: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: RLE Start of right-to-left embedding] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: m] ChildId: 6 1,12,1,7: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: LRO Start of left-to-right override] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: o] ChildId: 7 1,12,1,8: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: RLO Start of right-to-left override] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: v] ChildId: 8 1,12,1,9: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: PDF Pop directional formatting] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: p] ChildId: 9 1,12,1,10: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: NADS National digit shapes substitution] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: a] ChildId: 10 1,12,1,11: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: NODS Nominal (European) digit shapes] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: d] ChildId: 11 1,12,1,12: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: ASS Activate symmetric swapping] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: s] ChildId: 12 1,12,1,13: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: ISS Inhibit symmetric swapping] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: y] ChildId: 13 1,12,1,14: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: AAFS Activate Arabic form shaping] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: f] ChildId: 14 1,12,1,15: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: IAFS Inhibit Arabic form shaping] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: h] ChildId: 15 1,12,1,16: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: RS Record Separator (Block separator)] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: b] ChildId: 16 1,12,1,17: RoleText: menu item Role: 12 [Location: {x:0,y:0,w:0,h:0}] [Name: US Unit Separator (Segment separator)] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: s] ChildId: 17 1,13: RoleText: separator Role: 21 [Location: {x:1575,y:1162,w:504,h:13}] [Name: ] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] ChildId: 13 1,14: RoleText: menu item Role: 12 [Location: {x:1575,y:1175,w:504,h:44}] [Name: Open IME] [Value: ] [StateText: normal] [DefaultAction: Execute] [Description: N/A] [KeyboardShortcut: o] ChildId: 14 1,15: RoleText: menu item Role: 12 [Location: {x:1575,y:1219,w:504,h:44}] [Name: Reconversion] [Value: ] [StateText: unavailable] [State: 1] [DefaultAction: N/A] [Description: N/A] [KeyboardShortcut: r] ChildId: 15 =======End of ACC dump of Find and Replace Context Menu=======
No response