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] Page gets duplicated when deleting and restoring from trash on mobile #5293

Open
emmggi opened this issue May 9, 2024 · 4 comments
Open

Comments

@emmggi
Copy link

emmggi commented May 9, 2024

Bug Description

On mobile somehow I got 2 copies of the same page with the same structure. If I delete one of the top pages, it will move to trash and the other top page will have its children removed but top page remains. If I delete any of the children pages from any top page, the child page will get removed in the other ones as well.

Copies do not sync to desktop, there's always just one page but if I delete any of the copies from the mobile the one on desktop also gets removed. If I remove that one on the desktop top pages on mobile remain but they also don't have any child pages.

How to Reproduce

I'm not sure exactly how I came to two copies of the same page in the first place. After it happens you can delete one then restore it and you'll have 3 copies of the same page. Reopen the app and you're back to two.

Expected Behavior

Deleting a page should remove only that one page.

Operating System

Android 9.0, v7a apk

AppFlowy Version(s)

0.5.6

Screenshots

No response

Additional Context

If you need more clarification let me know.

@LucasXu0
Copy link
Collaborator

LucasXu0 commented May 9, 2024

@emmggi Could you attach a screen record of the operations?

@emmggi
Copy link
Author

emmggi commented May 9, 2024

@LucasXu0 I'll upload later today, I need to blur private stuff.

@emmggi
Copy link
Author

emmggi commented May 9, 2024

@LucasXu0 One more thing: when I reopen the app on mobile it will have 2 of the same page not 4 what I ended up with at the end.

Left is mobile, right is desktop.

Screencast.from.2024-05-09.18-14-48.webm

@LucasXu0
Copy link
Collaborator

@emmggi Thanks. Very clear explanation.

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