<?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>767</bug_id>
          
          <creation_ts>2013-06-27 00:28:59 +0200</creation_ts>
          <short_desc>whitespace key events are classified as &apos;non printable&apos;</short_desc>
          <delta_ts>2013-07-03 23:08:28 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>awt</component>
          <version>1</version>
          <rep_platform>pc_x86_64</rep_platform>
          <op_sys>windows</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="mike">msiggy</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>4c34f5980bddcdc84b10cb3bcbb96b365b9d471e
4e6c2aadd7d652db3ba1f35eef1a3d61d6e692d0</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2720</commentid>
    <comment_count>0</comment_count>
    <who name="mike">msiggy</who>
    <bug_when>2013-06-27 00:28:59 +0200</bug_when>
    <thetext>KeyEvents fired by whitespace keys such as tab, enter, and backspace are flagged as &apos;non printable&apos;. In other words they return &apos;true&apos; for their &apos;isPrintableKey()&apos; method.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2737</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-07-02 16:13:20 +0200</bug_when>
    <thetext>(In reply to comment #0)
&gt; KeyEvents fired by whitespace keys such as tab, enter, and backspace are
&gt; flagged as &apos;non printable&apos;. In other words they return &apos;true&apos; for their
&gt; &apos;isPrintableKey()&apos; method.

.. they do not return &apos;true&apos; for their  &apos;isPrintableKey()&apos; method, but should!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2747</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-07-02 18:48:48 +0200</bug_when>
    <thetext>ENTER (currently wrong keyCode 0xa -&gt; 0xd)
is not a printable IMHO but more a control sequence.

TAB + BS .. well, adding them is a compromise maybe,
while understanding the view from a &apos;editor&apos; perspective
not font-definition perspective.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2748</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-07-02 19:02:10 +0200</bug_when>
    <thetext>TAB + BS are considered &apos;printable&apos; - Compromise of &apos;editor&apos; view and &apos;font-definition&apos; view. ENTER not. Fix ENTER code: 0xa -&gt; 0xd !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2763</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-07-03 23:08:28 +0200</bug_when>
    <thetext>Revise commit 4c34f5980bddcdc84b10cb3bcbb96b365b9d471e (Bug 767): 
TAB, BS and CR/ENTER are printable for NEWT KeyEvent and font handling. Fix regression.
    
  - Original behavior was treating CR/ENTER them as printable, lets keep it this way.
  - KeyEvent: Query these 3 whitespaces upfront, no need to incl. them in &apos;nonPrintableKeys&apos;.
    
  - Fix regression: Native VK_ENTER was not change 
    in commit 4c34f5980bddcdc84b10cb3bcbb96b365b9d471e.

.. TL;DR .. so it is as you (Mike) suggested. All good!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>