Bug 702 - keyTyped() does not repeat, invalid keyChars in keyPressed()
Summary: keyTyped() does not repeat, invalid keyChars in keyPressed()
Status: RESOLVED INVALID
Alias: None
Product: Newt
Classification: JogAmp
Component: windows (show other bugs)
Version: 1
Hardware: pc_all windows
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-03-13 03:46 CET by cubus
Modified: 2013-03-13 06:02 CET (History)
0 users

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cubus 2013-03-13 03:46:38 CET
jogl 2.0 rc-11
windows vista 32 bit
java 1.6.0_39
german keyboard (qwertz)

keyTyped() gets called only once, no repeating events occur.

KeyEvent.getKeyChar() in keyPressed() returns invalid values for Shift + VK_0 .. VK_9 and for all AltGr combinations.

i read in the doc that keyTyped() should be used, but there is the 'no-repeat' problem. also i read somewhere in the forum that keyTyped() is going to be removed, so i report this here.
Comment 1 Sven Gothel 2013-03-13 06:02:46 CET
v2.0-rc11 is very old and a bug report against this version is invalid,
especially regarding NEWT keyboard input processing - implementation has changed!

Please test your use case against on of the latest aggregated build:
  http://jogamp.org/deployment/archive/master/?C=M;O=D

If you can reproduce and the above constrain is _not_ the case,
please reopen, thank you!
In such case, it would be great if you can use one of our unit tests
to reproduce the bug, or create a new one - and attach it to this bug report
and/or offer a git-patch.

+++

TYPED events are subject to removal very soon, see Bug 688.
TYPED events are not auto-repeated.

Otherwise .. retest.