<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>526</bug_id>
          
          <creation_ts>2011-11-11 09:56:30 +0100</creation_ts>
          <short_desc>NEWT KeyPressed undefined key char</short_desc>
          <delta_ts>2011-12-02 07:59:05 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="jouvieje">jerome.jouvie</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>3db4e89cb2c36f63c6d0a8f3450705d1ef3694b0</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1174</commentid>
    <comment_count>0</comment_count>
    <who name="jouvieje">jerome.jouvie</who>
    <bug_when>2011-11-11 09:56:30 +0100</bug_when>
    <thetext>All KeyPressed events from NEWT have an undefined key char, while AWT KeyEvent have a valid key char.
All code based on KeyPressed to get input characters (textfield, ...) will be broken using NEWT.

Always reproductible with JOGL b544 under windows 7, possibly on other os too.

Workaround: use NEWT KeyTyped event instead which have valid key char</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2011-11-18 09:14:45 +0100</bug_when>
    <thetext>Especially on Windows we are technically not able to to deliver the keyChar
at pressed or released.
Commit 3db4e89cb2c36f63c6d0a8f3450705d1ef3694b0 documents this.
However, the same commit fixes keyCode on typed events.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>