Drag & Drop on table

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Drag & Drop on table

woprandi
Hi,

I'm looking the drag & drog demo (http://demo.qooxdoo.org/3.5/demobrowser/#table~Table_Drag_And_Drop.html) on table but I don't understand why, often, I get a "prohibitory sign" next to my mouse pointer. And I don't understand why. It seems to do not happen on List, only on Table. Does anyone is able to give me an explanation of that ?
Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

Richard Sternagel
Hey woprandi,

you're right - this is unwanted behavior (i.e. a bug).
With the changes in the next release (no date yet) this
will be gone because the drag & drop algorithm has been
completely redesigned. Those changes currently "live"
inside the "pointer" branch and will be merged into master
at some point.

Regards
Richard

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

woprandi
Ok. Thanks you very much for your fast answer. I'm looking forward for the next realease !
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

panyasan
In reply to this post by Richard Sternagel
Hi Richard,

by any chance, do you plan on officially supporting Drag & Drop on the TreeVirtual (which is based on the Table) or virtual.Tree as well? There have been solutions, I know, but I've been struggling with this in the past, and ran into strange bugs, so it would be really great to have "official" reference implementations in the Demobrowser.

Thanks,
Christian
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

panyasan
FYI, here's what I came up with long ago:

http://sourceforge.net/p/qooxdoo-contrib/code/HEAD/tree/trunk/qooxdoo-contrib/qcl/trunk/source/class/qcl/ui/treevirtual/DragDropTree.js

and the related bug report:

http://bugzilla.qooxdoo.org/show_bug.cgi?id=3768

In the bug, I see that the "old" tree virtual is deprecated, so nothing will happen there, anymore, I guess (would you accept a patch that added a getter for a private property, at least?).

But it would be great to have an out-of-the-box solution for the new tree widget.

Thanks,
Christian

Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

Richard Sternagel
In reply to this post by panyasan
Hi Christian,

Drag & Drop is already supported for "qx.ui.tree.VirtualTree":

http://demo.qooxdoo.org/devel/demobrowser/demo/virtual/Tree.html

What are you missing specifically?

As you already guessed "qx.ui.treevirtual.TreeVirtual" on the other hand
won't get support for Drag & Drop officially (i.e. by ourselves). But
pull requests are always welcome and likely to be accepted if we detect
no obvious flaws and the changes don't break stuff.

One more thing: If you start working on this, base your work on the
pointer branch, cause these changes will be merged soon into master.

Regards
Richard

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

panyasan
Hi Richard,

I am sorry, I haven't checked the new virtual tree thoroughly enough before posting - it does seem to support D&D! The only thing I am really missing - and the reason I didn't notice it earlier - is that there is no visual drop target indicator, such as highlighting the hovered node or a line that appears when hovering in between nodes. That was really difficult in the old tree and I hope it's easy to implement in the new one.

One thing, however - visually, I like the old TreeVirtual much better than the new one (at least in the Modern theme). Is it possible to get the "old" look back into the new tree, for example, that it looks like this:

http://demo.qooxdoo.org/devel/demobrowser/#treevirtual~TreeVirtual_Multiple_Columns.html

Thanks for looking into this.

Christian
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

woprandi
Since qooxdoo 4.0 has been released yesterday, I wanted to try again the drag&drop demo on table but it does not work...
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

MartinWittemann
Administrator
Hey,
What do you exactly mean with „does not work“? We do have a table demo showcasing drag & drop [1]. This might be worth a look. :)
Best,
Martin

 
Am 06.06.2014 um 11:16 schrieb woprandi <[hidden email]>:

Since qooxdoo 4.0 has been released yesterday, I wanted to try again the
drag&drop demo on table but it does not work...



--
View this message in context: http://qooxdoo.678.n2.nabble.com/Drag-Drop-on-table-tp7585502p7585790.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

woprandi
Hi,

Ty for your fast answer.
I'm on the demo and drag&drop is very bugged. Try to switch the first two lines for example, I cannot...
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

Mustafa Sak-5
Yes, you are right, please open a bug on http://bugs.qooxdoo.org/

Gruß
Mustafa Sak

Applications & Integration

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


-----Ursprüngliche Nachricht-----
Von: woprandi [mailto:[hidden email]]
Gesendet: Freitag, 6. Juni 2014 12:34
An: [hidden email]
Betreff: Re: [qooxdoo-devel] Drag & Drop on table

Hi,

Ty for your fast answer.
I'm on the demo and drag&drop is very bugged. Try to switch the first two lines for example, I cannot...



--
View this message in context: http://qooxdoo.678.n2.nabble.com/Drag-Drop-on-table-tp7585502p7585797.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Drag & Drop on table

woprandi
It's now done,

http://bugs.qooxdoo.org/show_bug.cgi?id=8404

Thanks for your answer