Drag 'n drop of page in page tree does not work
I had this problem in the current master (9.2.0-dev).
If it isn't easily reproducable, let me know and I'll look into it further.
Steps to reproduce¶
- Create a new page with right mouse click, New
- Move the page by dragging till the place to insert changes to a line
- Dialog pops up, click on move
Page is moved
Page stays where it is
[BUGFIX] Move page correctly when droping page before another one
Fixes an issue where drag and dropping page before a another one didn't
detect the previous page correctly. DataHandler always expect
us to put a node AFTER. So when we want to place a page before, we need
to find previous page and put the new on after it.
Now it correctly compares depth of the node mouse is over with a previous
node. Before it took a dragged node depth for a comparison, which was wrong.
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Joerg Kummer <firstname.lastname@example.org>
Tested-by: Joerg Kummer <email@example.com>
Reviewed-by: Tymoteusz Motylewski <firstname.lastname@example.org>
Tested-by: Tymoteusz Motylewski <email@example.com>
#4 Updated by Riccardo De Contardi over 1 year ago
It is still reproducible on 9.3.0-dev, I think ... but I can't understand under what conditions it is exactly reproducible; in general it fails when you try to move a page on a level below (see attached screenshot)
#5 Updated by Sybille Peters over 1 year ago
This is probably the same thing Riccardo described: I have noticed this several times (usually with latest 9 master).
Not reproducable: If I drag'n drop another page into 1 page (I mean while dragging I select the entire page)
Reproducable: If I drag and drop above / below a page (a thin line is shown). Then, the page does not get moved.
#7 Updated by Anja Leichsenring over 1 year ago
- Status changed from New to Needs Feedback
I just tried my best to reproduce on a current master installation (running on fluid-styled-content), but I was not able to. Pages get moved and copied just fine, into and next to, from new pages and existing pages. Please verify the issue is solved?
#8 Updated by Sybille Peters over 1 year ago
I could not reproduce it either with existing pages.
But I could reproduce it, if I create a new page:
With introduction package:
1. Select start page "Congratulations"
2. Create another page : "another page"
3. Try to drag "another page" in between 2 existing pages
Result : page stays where it is.
- Used latest master.
- Tested again, using fresh installation (new database etc.), without additional extensions (no introduction and bootstrap_package): same results.
#9 Updated by Sybille Peters over 1 year ago
It's not always reproducible in the same way.
Try to play around, use various variants of "Move" or "Cancel", create new pages and move them around.
In the animated gif, you can see an example, where the behaviour is correct according to what is displayed in the dialog "to after start page", but it was tried to move the page between "page 1" and "page 2" and the thin line was visible.