Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Moving a page that has an existing document block will send it to the trash can instead #7588

Open
WagnerGFX opened this issue Mar 23, 2025 · 2 comments

Comments

@WagnerGFX
Copy link

Bug Description

In some cases, a document block may disappear and send its page to the trash, instead of just moving to the destination.

How to Reproduce

Case 1:

  • add a page block using /document
  • move the new page to another one by dragging and dropping using the sidebar
  • The block will disappear, and its page will be moved to the trash instead of the destination page

Case 2:

  • Add two page blocks using /document
  • Put them side by side in a 2 column style by dragging and dropping
  • use CTRL+Z to revert
  • The block on the left side will disappear, and its page will be sent to the trash

Expected Behavior

A page should not be deleted simply by being moved around or undoing.

Since it has a document block, that block should also move to the new page parent.

Operating System

Window 10

AppFlowy Version(s)

0.8.7

Screenshots

No response

Additional Context

No response

@khorshuheng
Copy link
Collaborator

I am not able to reproduce this issue, so it is possible that i might have misunderstood the bug report. Could you attach a small screen capture/video that reproduce this?

@WagnerGFX
Copy link
Author

Here's a video for each case:

Some extra info, just in case:

  • I'm using the zip version with a local database and no account
  • Windows 10 (build 19045)
  • CPU i7-2600k | RAM 12GB DDR3 | GPU GTX 1650 (32.0.15.7270)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants