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

Open
opened 2026-03-23 21:29:36 +00:00 by mirror · 2 comments
Owner

Originally created by @WagnerGFX on GitHub (Mar 23, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7588

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

Originally created by @WagnerGFX on GitHub (Mar 23, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7588 ### 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_
Author
Owner

@khorshuheng commented on GitHub (Mar 24, 2025):

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?

<!-- gh-comment-id:2746718607 --> @khorshuheng commented on GitHub (Mar 24, 2025): 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?
Author
Owner

@WagnerGFX commented on GitHub (Mar 24, 2025):

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)
<!-- gh-comment-id:2746862543 --> @WagnerGFX commented on GitHub (Mar 24, 2025): Here's a video for each case: - Case 1: https://github.com/user-attachments/assets/0fc7ed05-543d-42aa-8e07-d94dfe0b952e - Case 2: https://github.com/user-attachments/assets/43e64b69-7289-4dad-84cb-c5a0a670e54d 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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3364
No description provided.