Hi,

I have just upgraded to the bugfixing release 4.0.2 and I noticed a side effect 
of the change on qx.event.handler.Pointer in which the following check has been 
added:

// respect anonymous elements
while (target && target.getAttribute("qxanonymous")) {
  target = target.parentNode
}

This causes mouse and pointer events to not be propagated to widgets that 
received these events before and should (I believe).
The easiest way to see this is in the playground 
(http://demo.qooxdoo.org/current/playground/#Table-ria) by adding a listener to 
event "pointerdown" on child "column-button" of the table, e.g.

var customizingButton = table.getChildControl("column-button");
if (customizingButton != null) {
  alert("button found");
  customizingButton.addListener("pointerdown", function (e) {
    alert("pointerdown");
    if (e.isLeftPressed()) {
      alert("pointerdown");
    }
  }, this, true);
}

The alert that the button is found is shown but none of the alerts inside the 
listener. Using "mousedown" which should still work too according to the 
documentation has no effect.

I reverted the change in qx.event.handler.Pointer and now my code works again.

Question is, is this a bug in qx.event.handler.Pointer or is the column-button 
missing a property?
Please let me know and I will open a bugreport

Regards,
Jeroen

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to