<?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>668</bug_id>
          
          <creation_ts>2013-01-16 13:28:11 +0100</creation_ts>
          <short_desc>Android Newt KeyEvent.getKeyChar returns always uppercase character</short_desc>
          <delta_ts>2013-02-28 15:33:45 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>embedded_arm</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Brice Figureau">brice.figureau</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>c9a13b31703302f58100af2a3f437ff7cb8fd010
1f9bff1aab54c399438c735581508ac85c6a29b3</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2098</commentid>
    <comment_count>0</comment_count>
    <who name="Brice Figureau">brice.figureau</who>
    <bug_when>2013-01-16 13:28:11 +0100</bug_when>
    <thetext>Android 4.0.3 on Kindle HD7&quot;

When pressing a lowercase letter key on the virtual keyboard (default view of the virtual keyboard), produces an uppercase character.

The internal Android Event to Newt Event converter calls Andoid KeyEvent.getDisplayLabel() to get access to the typed character. Unfortunately this always returns an uppercased letter (which also breaks accented keys).

One possible solution would be to use Android KeyEvent.getUnicodeChar and transform it to a java &apos;char&apos; by a char cast if value is &lt; 0xffff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2229</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-02-28 15:33:45 +0100</bug_when>
    <thetext>http://jogamp.org/git/?p=jogl.git;a=commit;h=c9a13b31703302f58100af2a3f437ff7cb8fd010
http://jogamp.org/git/?p=jogl.git;a=commit;h=1f9bff1aab54c399438c735581508ac85c6a29b3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>