PreviousNextTracker indexSee it online !

(169/211) 3930 - Shortcut NumPad+ (NumPadAdd) stopped working in daily versions

Hi, I had a macro shortcut for NumPad+ key, but it stopped working in the daily versions and the key simply types '+'. The other keys on NumPad work as shortkeys without problem.

tvojeho

Using jEdit version: 5.3pre1
Daily build: 2015-09-28
Java runtime version: 1.8.0_60-b27
OS name: Windows 8.1
OS version: 6.3
OS arch: x86

Active plugins: ActionHooks (0.6), Archive (0.4.3), BufferTabs (1.2.4)
Character Map (1.3.3), Code2HTML (0.6), Common Controls (1.7.4)
Console (5.1.4), Context Menu (0.4), CtagsSideKick (1.5)
DirtyGutter (0.3b), ErrorList (2.3), FindFile (1.2)
Finish Him! (0.9), FoldViewer (1.1), GnuRegexp (1.0.1)
HelpServer (0.1.1), Hyperlinks (1.1.0), Info Viewer (1.6.3)
JDiff Plugin (3.3.0), JNAPlugin (3.5.2), Jakarta Commons (0.8)
LucenePlugin (4.1), MacroManager (1.3.1), MarkerSets (0.9)
MetalColor (1.1.0), Mouse Snap (0.1), MyDoggyPlugin (0.3)
Navigator (2.5), OpenIt (1.6.0), Project Viewer (3.5.3)
QuickNotepad (5.0), RecentBufferSwitcher (0.2), Scala Plugin (1.1.0)
SideKick (1.8), Spell Check (R010), SuperAbbrevs (2.0-pre8)
TaskList (2.5), TextTools (1.15), VoxSpell (1.0.8)
WhiteSpace (1.0.2), XInsert (2.6), XSearch (1.9)

Submitted tvojeho - 2015-10-05 16:32:15.699000 Assigned
Priority 9 Labels
Status open Group Regressive (new to devel)
Resolution None

Comments

2015-10-05 17:46:31.976000
makarius

See also https://sourceforge.net/p/jedit/patches/567 which removes old workarounds that destroy key events in other situations.

I am presently investigating if it is possible to evade both Scylla and Charybdis.

2015-10-05 21:37:07.007000
makarius

We are talking about SVN change 24092.

What still puzzles me is the (deleted) comment "A workaround for non-working NumLock status in some Java versions" in KeyEventWorkaround.java. Does that refer to odd effects from ancient times, or the normal situation that KEY_TYPED does not distinguish a plain '+' from numeric keypad '+' (VK_ADD)?

Depending on the answer, the possibility to re-map VK_ADD (without modifiers like Control or ALT) is either an accident or intended feature.

2015-10-06 09:10:19.717000
makarius

Here are some old bug tracker items that might help to understand the historical situation:
http://bugs.java.com/view_bug.do?bug_id=6314507
http://bugs.java.com/view_bug.do?bug_id=6173972
https://netbeans.org/bugzilla/show_bug.cgi?id=92605
https://netbeans.org/bugzilla/show_bug.cgi?id=163240