Skip to content

Local Run break: Whenever I leave the FF mac page and come back it reloads automatically. This breaks the Local Run feature. #2931

@Nic61

Description

@Nic61

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • 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

I have the FF mac app. Whenever I switch to a different desktop or window and spend some time there, when I come back to FF app it automatically reloads. If there was a Local Run it completely forgets about it. This leads to rendering Local Run useless, as I have to run it every single time again.

Expected Behavior

FF mac app automatically reloads but remembers there's a Local Run session going on. Still allowing for hot reload.

Steps to Reproduce

  1. Create a project on FF mac app
  2. Local Run it
  3. Navigate to a different mac desktop. Spend some time there working (e.g. on Google Chrome browsing around).
  4. Come back to the FF mac desktop.
  5. You'll see the FF mac app refreshes the current project and forgets about the local run instance.

Reproducible from Blank

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

Bug Report Code (Required)

NA

Context

Simply using the Local Run, but breaks every time due to this behaviour. Basically I can't test the app, I have to run Local run again each single time (and takes a lot of time).

Visual documentation

NA

Additional Info

No response

Environment

- FlutterFlow version: v4.1.53
- Platform: MacOS
- Browser name and version: FF Mac App
- Operating system and version affected: na

General

  • I was collaborating with other users in the same project prior to data loss
  • I navigated between different project views leading up to data loss
  • The UI was running very slowly prior to data loss
  • A crash or other bug occurred prior to data loss
  • Data was not saved in a snapshot
  • I was using flutterflow from multiple devices
  • I was using flutterflow from multiple platforms (e.g. both web and MacOS Desktop app)

Relative to the time the changes were made, data was lost within

  • 1 minute
  • 1 hour
  • 1 day
  • 1 week

When following my steps to reproduce, data loss happens

  • ~100% of the time
  • ~50% of the time
  • ~10% of the time
  • ~1% of the time
  • Very rarely or only encountered once

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions