Thanks, Derrell! I reattach the patch that fixes the Firefox/Gecko
problem. The demo really doesn't work very well without this patch.
Cheers, Christian
Index:
F:/xampp/htdocs/qooxdoo-trunk/frontend/framework/source/class/qx/event/handler/DragAndDropHandler.js
===================================================================
---
F:/xampp/htdocs/qooxdoo-trunk/frontend/framework/source/class/qx/event/handler/DragAndDropHandler.js
(revision 9009)
+++
F:/xampp/htdocs/qooxdoo-trunk/frontend/framework/source/class/qx/event/handler/DragAndDropHandler.js
(working copy)
@@ -259,7 +259,7 @@
vCurrent =
qx.event.handler.EventHandler.getTargetObject(null, vCurrent);
}
- while (vCurrent != null && vCurrent !=
this.__dragCache.sourceWidget)
+ while (vCurrent != null )
{
if (!vCurrent.supportsDrop(this.__dragCache)) {
return null;
Derrell Lipman schrieb:
> I've just added Chrstian's mixin which provides Drag & Drop capability
> to TreeVirtual, to the legacy_0_7_x branch. The new demo
> TreeVirtual_6.html shows how it works.
>
> Note that qx.event.handler.DragAndDropHandler currently does not allow
> displaying the drag pointer while over the source icon (at least in
> the gecko-specific code). I think a new property should probably be
> added, maybe to Widget, for "selfDropOk" which, if true, would allow a
> drop operation from some source widget, on that source widget itself.
> qx.event.handler.DragAndDropHandler would look at the widget's
> selfDropOk property. I've noticed, however, that
> qx.event.handler.DragAndDropHandler has been moved to a legacy
> namespace, to be replaced by the new event system, and the new event
> system does not have a DragAndDropHandler. I don't know how this
> works in the new event system.
>
> I don't have any more time now to work on incorporating this into
> trunk. Sebastian, Fabian, or anyone else... if you want to pick up
> the ball and run with it, feel free.
>
> Cheers,
>
> Derrell
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel