:: Forum >>

eventhandling collision between qooxdoo and grid 1.0

Hello Alex!

As it shows there is again an eventhandling collision between the grid and the qooxdoo widget framework in mozilla firefox

I tried to use the qooxdoo framework (http://qooxdoo.sourceforge.net) in the same document with no success. I supose that this ist the same problem as in

http://www.activewidgets.com/javascript.forum.4680.14/eventhandler-collision-between-jscalendar-and.html

because the grid emulates some IE function in firefox.

Is it possible to avoid this emulations so both frameworks can be used in the same document?

Alex please help!

Thank you!


Dietrich
Tuesday, October 18, 2005
Yes, IE emulation for Mozilla/Firefox sometimes creates compatibility problems with other libraries. Though some emulation code is still leaked into beta1 - version 2.0 final will not use IE emulation internally.

Emulation code will be included but you'll have to activate it explicitly.
Alex (ActiveWidgets)
Tuesday, October 18, 2005
Alex:

I think I found the conflicting code in the qooxdoo library (in File source/script/managers/QXEventManager.js, line 484). The gecko part of the eventhandler is:

proto._onmouseevent = function(e)
{
var t = e.type;
....


where e is null in firebird. I inserted the following code before the assignment to the variable t:

proto._onmouseevent = function(e)
{
if(!e) {
e = this._attachedClientWindow.getElement().event;
};

var t = e.type;


Is this the correct handling if your gecko-IE emulation is active?

Thank you for answering!
Dietrich
Wednesday, October 19, 2005
Has anyone tried to use qooxdoo with the 2.0 framework? Specifically, has anyone experienced and solved the conflict with keystroke events? I find that the grid displays and seems to work quite well except that it does not respond to key events. The mouse events seem to be working fine. Has anyone seen this?

Thank you.
Robert
Robert
Tuesday, April 11, 2006
I have removed IE-emulation from AW 2.0 so the problem described in the original post should not be present in 2.0 - it should be something else, probably qooxdoo intercepts keystroke events?
Alex (ActiveWidgets)
Tuesday, April 11, 2006

This topic is archived.


Back to support forum

Forum search