Skip to content

Deleting unused pages reverts project changes and restores deleted pages #6975

@noscura

Description

@noscura

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When deleting unused pages in FlutterFlow, the editor unexpectedly reverts the project back to a previous snapshot. This rollback restores deleted pages and undoes layout changes made since the last snapshot. The issue occurs even when the page has 0 references and should be safe to delete.
Steps to Reproduce:

  • Open a FlutterFlow project.
  • Verify that a page has 0 references (no bindings, actions, or dependencies).
  • Delete the unused page.
  • Observe that the deletion succeeds.
  • Delete another unused, unreferenced page.
  • The editor reverts the project state, restoring previously deleted pages and undoing layout changes.

Expected Behavior

Delete means delete no revert back if any reference show errors and will fix it. Before it was like that now delete page is not possible. I am trying to cleanup whole project but reverts back all the changes that makes me not cleanup anymore.

Steps to Reproduce

Steps to Reproduce:

  • Open a FlutterFlow project.
  • Verify that a page has 0 references (no bindings, actions, or dependencies).
  • Delete the unused page.
  • Observe that the deletion succeeds.
  • Delete another unused, unreferenced page.
  • The editor reverts the project state, restoring previously deleted pages and undoing layout changes.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4wlPHq0It1xPVA1pDUc+9aqDwsGDs/bbgOmO1xYCs9f5ToPJYQe8/6P1VpTe2jYWNMOVqcp14F+an3v4XAUcI3HE2dG91c1sx6QzrJVkWubK2TF7mwSEFQTMdVG3azyMOZuhZ+GMxadCUcwDiuAuuUYHftO7LwIUQ4Sq/LZO4=

Visual documentation

[URL of screen recording] (https://drive.google.com/file/d/1wup9_ZeOOdI8HwIiivcpeke75Kiw8QT1/view?usp=sharing)
[Closed issue by FF Team] (#5438)
Reopen it and investigate issue still exists.

Environment

- FlutterFlow version: latest version
- Platform: web
- Browser name and version: chrome latest
- Operating system and version affected: windows 11

Additional Information

[https://drive.google.com/file/d/1wup9_ZeOOdI8HwIiivcpeke75Kiw8QT1/view?usp=sharing]

Issue reproducible accross my projects

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions