FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
115 stars 19 forks source link

Issues when renaming widgets in the widget tree #2989

Open kesioo84 opened 3 months ago

kesioo84 commented 3 months ago

Has your issue been reported?

Current Behavior

More often than not, I cannot rename widgets, at least with columns widgets is where I see it happening. Tried to replicate now on other widgets but those seem fine, and I cannot remember if before they were also experiencing the issue.

Expected Behavior

When double-clicking on the name inside the Widget tree, as soon as you start typing a new name:

  1. The focus is lost with 1 or characters entered only (ie: instead of "contentColumn", only "co" is entered)
  2. The widget tree scroll jumps and a new scroll is needed to reposition and try renaming it again.

In some cases after a few attempts, the name is registered. On others, as you see in the video, there is no chance.

Steps to Reproduce

  1. Inside a page with plenty of elements, pick a column widget of mid hirarchy
  2. Double-click its name to rename
  3. Try to type and enter a new name (or move the cursor with the left/right arrow or use backspace/delete, if a partial name was accepted and the focus is not lost)

Reproducible from Blank

Bug Report Code (Required)

ITESz/Hqx89gosNY1bXubMBqhQAkQzM8bYJMl9caRQ0YNbLoPe0DeOr+VGVYZPW5Sm9iP1elsD40w63WvoThCPA4H0+reINozLlUSQvjeFGuWq6oEZGWZ0dTGe5hG0jHy6u02CNNOu5hV1Jiw2z/cq3qNleeY8aSfxBlZ7vfcPo=

Context

Well, not being able to rename widgets in the tree prevents me from finding elements easily.

Visual documentation

A video will help more than an image. So I uploaded one to my drive 2 videos:

On my project, the behaviour is bad https://drive.google.com/file/d/1NnVSR57jToEOaR4d9JGIWTwmyVhDdaPS/view?usp=drive_link

On a blank project, it seems okayish but as you add more elements, it seems to start happening.

Additional Info

No response

Environment

- FlutterFlow version: 4.1.5
- Platform: Web browser and also on MacOS Flutterflow PWA
- Browser name and version: Brave 1.66.110
- Operating system and version affected: MacOS Sonoma 14.5

General

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

When following my steps to reproduce, data loss happens

ignalauret commented 3 months ago

Hey @kesioo84 thanks for your report. I was able to reproduce this issue trying to change the name of a Column. I will send it to our technical team so they can take a look, they will keep you updated on this thread. Have a great day!

kesioo84 commented 3 months ago

Awesome Ignacio! Gracias viejo!