Hi Dmitry,

I'm pleased to inform you that your issue should be fixed by latest qooxdoo 
master (see http://bugzilla.qooxdoo.org/show_bug.cgi?id=8435).

Gruß
Mustafa Sak

Applications & Integration

1&1 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe

-----Ursprüngliche Nachricht-----
Von: Mustafa Sak [mailto:mustafa....@1und1.de] 
Gesendet: Mittwoch, 18. Juni 2014 11:00
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] qooxdoo4 desktop - d3 drag events not working

Hi Dmitry,

this issue happens, since the pointer normalization stops further propagation 
at document. We are currently discussing about that problem. I point you to the 
bugzilla task as soon as I can.

Sorry but I can't provide you with a workaround for the mean time.

Gruß
Mustafa Sak

Applications & Integration

1&1 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe

-----Ursprüngliche Nachricht-----
Von: Dmitry Pryadkin [mailto:drpada...@ya.ru]
Gesendet: Dienstag, 17. Juni 2014 08:59
An: qooxdoo-devel@lists.sourceforge.net
Betreff: [qooxdoo-devel] qooxdoo4 desktop - d3 drag events not working

Hi Everyone,

I'm having a problem with my existing code that uses d3.  The "drag" 
event on top of <svg> doesn't work anymore since qooxdoo 4.0.

I have a short demo that can be ran in the Online Playground at 
http://demo.qooxdoo.org/devel/playground/
There you won't see a debug message saying "drag" or "dragend" and that is the 
problem.

You will see the correct debug messages if you run the same program in Qooxdoo 
3.5 http://demo.qooxdoo.org/3.5/playground/

Thanks,


var self = this;
var req = new qx.bom.request.Script();
req.onload = function() {


     var win = new qx.ui.window.Window("First Window");
     win.setWidth(400);
     win.setHeight(400);
     win.setShowMinimize(false);

     win.setLayout(new qx.ui.layout.Grow());

     self.getRoot().add(win, {left:20, top:20});
     win.open();

     var html = new qx.ui.embed.Html("<div id=\"dc\"></div>").set({
                 maxHeight: 400,
                 minHeight: 400,
                 maxWidth: 400,
                 minWidth: 400,
                 selectable: false
             });
     win.add(html);


     html.addListener("appear", function() {

         var d3container = d3.select('#dc');

         var drag = d3.behavior.drag()
           .on("dragstart", function() {
             console.log("dragstart");
           })
           .on("drag", function() {
             // !!! NOT WORKING
             console.log("drag");
           })
           .on("dragend", function() {
             // !!! NOT WORKING
             console.log("dragend");
           });


         var svg = d3container.append('svg');
         svg.attr('width', 400);
         svg.attr('height', 400);
         svg.call(drag);

     }, self);



};
req.open("GET", 'http://d3js.org/d3.v3.min.js'); req.send();





------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find 
What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. 
Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration 
http://p.sf.net/sfu/hpccsystems _______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find 
What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. 
Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration 
http://p.sf.net/sfu/hpccsystems _______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to