Error dragging DockNode from one DockPane to another
jplwill opened this issue · 5 comments
I found an error if I try dragging a DockNode from one DockPane to another. The error scenario is like this:
- Create two DockPanes side by side, A and B.
- Create DockNode A1, and dock it in A.
- Drag A1 to B and dock it. (This works, once I fixed a bug involving B not yet having a "root" SplitPane.)
- Create DockNode A2, and dock it in A.
- Drag A2 to B and try to dock it. It doesn't seem to matter where.
- A1 is docked where A2 was supposed to go; the space where A1 was supposed to go remains empty; and A2 remains floating.
- I'm seeing two DOCKED_RELEASED events, one for A1, then one for A2. It doesn't seem that A1 should get one.
Has anyone fixed this in one of the various forks?
Can you try it in my fork as I've been doing a lot of work in this area.
I'll give that a try.
Sam, I see the same problem in your fork, after downloading a .zip of your master branch.
Hmm....
It would hopefully be fixed by this if I get a chance to work on it:
https://github.com/ClearControl/DockFX/issues/17
I did have it working but there was a problem with missing title bars which prompted the refactoring
What I'm most curious about is how to fix it in the vanilla RobertBColton version, which is almost exactly what I need, modulo a few bug fixes and a couple of enhancements I'm working on that don't seem to be of general interest. For my current purposes, I don't need or want many of the enhancements I see other folks working on.