Hi,

I think there is a bug:
In qooxdoo 0.8 (trunc, current rev. 16438) with Firefox 3.0.3:
    qx.ui.form.TextField there fires no "keypress" event for the keys 
Up, Down, PageUp, PageDown (maybe more).
    "keydown" fires OK,
With Internet Explorer 7 and Google Chrome "keypress" fires OK.

Erich

Here a code snippet for test:

      // Create a textfield with keypress and keydown listener
      var input = new qx.ui.form.TextField();
      var labeld = new qx.ui.basic.Label("keydown:");
      var labelp = new qx.ui.basic.Label("keypress:");
      var keydown = new qx.ui.basic.Label();
      var keypress = new qx.ui.basic.Label();

      // Add an event listener
      input.addListener("keydown", function(e) 
{keydown.setContent(e.getKeyIdentifier())});
      input.addListener("keypress", function(e) 
{keypress.setContent(e.getKeyIdentifier())});

      // Document is the application root
      var doc = this.getRoot();
           
      // Add button to document at fixed coordinates
      doc.add(input, {left: 10, top: 10});
      doc.add(labeld, {left: 10, top: 40});
      doc.add(labelp, {left: 10, top: 70});
      doc.add(keydown, {left: 100, top: 40});
      doc.add(keypress, {left: 100, top: 70});


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to