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: Saving Team Design Library broke Text widgets #5165

Open
2 tasks
blytheaw opened this issue Dec 22, 2024 · 1 comment
Open
2 tasks

Bug: Saving Team Design Library broke Text widgets #5165

blytheaw opened this issue Dec 22, 2024 · 1 comment
Assignees
Labels
status: can't reproduce Following the reported steps did not reproduce the bug.

Comments

@blytheaw
Copy link

blytheaw commented Dec 22, 2024

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

After saving a Team Design Library (with a small change to TextField themed widget) in use by two FlutterFlow projects in my organization, almost all regular Text widgets that used a variable for their value were cleared out and reset and just showed [Text Widget] in the UI builder.

We were able to resolve them by going to every single Text widget, clicking the little delete icon to remove the theme style, then it resolved and brought the value back.

This is odd because we do not have any themed widgets for Text widgets. After saving the design library, most Text widgets began appearing as though there was a themed widget style attached because the delete icon was visible but there was not actually a theme style to reference (see screenshots).

Expected Behavior

Saving the team design library does not break Text Widgets across all consuming projects

Steps to Reproduce

We have not attempted reproduction as we are hesitant to mess with this again given how much damage it did in our projects and how much rework it is causing.

But best we know, the steps causing this were:

  1. Start with a Team Design Library used by one or more consuming projects
  2. Consuming project should have Text widgets using a Theme Style set from the Team Design Library (i.e. typography settings)
  3. Make a change not related to Typography or Text widgets in the Team Design Library (the one change we made was a property of TextField, not Text, themed widget) and save the design library
  4. We then observed in the consuming project all Text widgets having their values removed, UI builder showing [Text Widget] for them and it not resolving the theme style.

Reproducible from Blank

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

Bug Report Code (Required)

IT40jMnlw6d4oMt57pbLbu4xo2EUQ3IKWr5E1u5BaCsvCIyqOpscf/fBfklUOPG5SnxiJk78hj4X/MrSvobpU8BcCzOYbJtyyodiSRfzRkCWR7qaPa63b3YnEcpgfG6sy56C3SR4PbJiSngB71+pNuq/YCjUHb7wDGsFPuaoXdeK2SrDX1iXc2URm05KZDPz

Visual documentation

image
image
image

Environment

- FlutterFlow version: v5.0.0+
- Platform: Windows and Linux (multiple users seeing behavior)
- Browser name and version: Latest Chrome
- Operating system and version affected: Pop OS 22.05 and Windows 11

Additional Information

This has caused an immense amount of tedious rework and affected our trust in the shared design system feature. This is a massive issue. Please fix it urgently.

@blytheaw blytheaw added the status: needs triage A potential issue that has not been confirmed as a bug. label Dec 22, 2024
@Alezanello Alezanello self-assigned this Dec 24, 2024
Copy link
Collaborator

Hello,

I’m very sorry to hear about the experience you’ve had with this issue. I’ve been working to replicate the problem using three libraries across three different projects, each with TextField Style applied. In the corresponding consuming projects, I used plain text widgets without styling and then tested updating the library to observe the effects on the consuming projects. However, I couldn’t reproduce the behavior you described—it’s quite unusual.

If possible, could you create a sample library along with a sample project that reproduces the issue? Please share the bug report codes for both the library and the project so we can investigate further.

Thank you, and I apologize again for any inconvenience caused.

@Alezanello Alezanello removed the status: needs triage A potential issue that has not been confirmed as a bug. label Dec 24, 2024
@Alezanello Alezanello added the status: can't reproduce Following the reported steps did not reproduce the bug. label Dec 24, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: can't reproduce Following the reported steps did not reproduce the bug.
Projects
None yet
Development

No branches or pull requests

2 participants