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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>93017</bug_id>
          
          <creation_ts>2012-08-02 12:30:30 -0700</creation_ts>
          <short_desc>javascript: the AltGr key return a 0 value for the keyCode, instead of 225</short_desc>
          <delta_ts>2013-02-26 03:23:47 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>76988</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Blindauer">e.blindauer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>barraclough</cc>
    
    <cc>mail1</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>685674</commentid>
    <comment_count>0</comment_count>
    <who name="Blindauer">e.blindauer</who>
    <bug_when>2012-08-02 12:30:30 -0700</bug_when>
    <thetext>Currently, there is no way to know if the altGr key is pressed.

Firefox fixed this problem recently in their release 15

This problem affect some javascripts application, like noVNC or guacamole
(https://github.com/kanaka/noVNC/issues/21, http://guac-dev.org/trac/ticket/136 )


The javascript test page is http://guac-dev.org/pub/tests/key-event-test.html

Currently webkit based browsers return a keyCode 0 for the AltGr Key. Firefox, since version 15 return the value 225.

Can a patch be made to return the same value for webkit browsers ?
(The AltGr key isn&apos;t the right Alt. It&apos;s a key found in most european keyboard layout)

This can be tested on linux mainly. windows users have a similar bug, but I&apos;ll open another BR because of the way to emulate AltGr with Alt+ctrl on windows

Emmanuel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>702719</commentid>
    <comment_count>1</comment_count>
    <who name="Blindauer">e.blindauer</who>
    <bug_when>2012-08-22 23:00:08 -0700</bug_when>
    <thetext>anyone on this bug ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>710102</commentid>
    <comment_count>2</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2012-08-31 17:49:28 -0700</bug_when>
    <thetext>This bug is in the wrong component, moving to WebKit Misc in the hope it&apos;ll pick up the attention of someone who can move it on in the right direction!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841841</commentid>
    <comment_count>3</comment_count>
    <who name="Benjamin ANDRE">mail1</who>
    <bug_when>2013-02-26 03:23:47 -0800</bug_when>
    <thetext>I confirm the bug, and it&apos;s quite a problem.
For instance in French keyboards, Altgr is a key modifier required to insert a &apos;@&apos;. Because of this bug we are not able in webkit to detect the insertion of a &apos;@&apos; ...
If this bug could be taken into account...

regards !</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>