Menu

#3930 Shortcut NumPad+ (NumPadAdd) stopped working in daily versions

open
nobody
None
9
2015-10-06
2015-10-05
tvojeho
No

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)

Discussion

  • Makarius

    Makarius - 2015-10-05

    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.

     
  • Makarius

    Makarius - 2015-10-05

    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.

     

Log in to post a comment.