Pages can be subpages of themselves #Desktop

Bug description

It’s possible to move a page into itself.

How to reproduce the bug

    1. Create a page (say, page P) in the home page.
    1. Create a subpage (say, subpage S) in page P
    1. Create a link to S in P
    1. Drag and drop S on the link to S.

S has now disappeared from P and is a subpage of itself. The fact that a page can be a subpage of itself allows for different weird behaviours. For example:

  • You can make a page “disappear”: create a page and turn it into a bullet point. It now is a bullet point with an embedded page. You can move the bullet point (and the page itself) inside the page. The page disappears, and it can be found only through search and ‘at’ mentions.
  • In the Home Page, you can move two pages inside each other. They disappear just like above.
  • You can create a parent page and a child page in it, and then move the parent into the child via right-click and the"Move" option.

Expected behavior

No element should ever be a sub-element of itself.


  • OS: Windows 10
  • Device: PC
  • Version: 0.17.7

Note: Apparently I tagged this incorrectly, and it doesn’t look like I can fix that. Maybe a mod can? The tag doesn’t appear next to the post title in the post list.


@Nicola Thank you for the notice! It had been added to the bug tracker