Public bug reported:

Browser javascript does not detect certain pressed keys.

Reproduce:
Set any HTML object onkeypress attribute like for example this:
<textarea onkeypress="alert(event.which);"></textarea>

If you press any key in this textarea, it shows you key code.
But if you want write ü or ä (German) in a way, that you press umlaut first and 
then letter,nothing happen.
It does not work with some other letters (áíéščřžě) and probably more.

It was tested in Opera, Firefox, Epiphany.
(in Opera you have to replace event.which by event.keyCode)

You can try it here: http://extender.ic.cz/keypress.html

** Affects: Ubuntu
     Importance: Untriaged
         Status: Unconfirmed

** Description changed:

  Browser javascript does not detect certain pressed keys.
  
  Reproduce:
  Set any HTML object onkeypress attribute like for example this:
  <textarea onkeypress="alert(event.which);"></textarea>
  
  If you press any key in this textarea, it shows you key code.
- But if you want write ü or ä (German) in a way, that you press umlaut first 
and then letter,
- nothing happen. It does not work with some other letters (áíéščřžě) and 
probably more.
+ But if you want write ü or ä (German) in a way, that you press umlaut first 
and then letter,nothing happen.
+ It does not work with some other letters (áíéščřžě) and probably more.
  
  It was tested in Opera, Firefox, Epiphany.
  (in Opera you have to replace event.which by event.keyCode)
  
  You can try it here: http://extender.ic.cz/keypress.html

-- 
keyPress does not work perfectly in browser javascript
https://launchpad.net/bugs/58693

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to