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

Custom icons in design libraries cause error #5372

Open
2 tasks done
stasik0808 opened this issue Feb 2, 2025 · 5 comments
Open
2 tasks done

Custom icons in design libraries cause error #5372

stasik0808 opened this issue Feb 2, 2025 · 5 comments
Assignees
Labels
Bug Icon status: confirmed Issue has been reproduced and confirmed as a bug. Team Libraries

Comments

@stasik0808
Copy link

stasik0808 commented Feb 2, 2025

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

If you add libraries to projects that contain the design system of another project - which contains custom icon files. In this case, the project cannot run locally. Presumably the same will happen with fonts and other assets(Not tested)

Expected Behavior

Local execution is possible in such a set of files

Steps to Reproduce

Design Library

  1. Create project, with name "bug-design-library"
  2. Add custom icons (If needed - Test_Icon-v1.0.zip )
  3. Publish as Library

Library

  1. Create project, with name "bug-library"
  2. Add as dependency "bug-design-library"
  3. Set as Design System "bug-design-library"
  4. "bug-library" publish as library

Project

  1. Create project, with name "bug-project"
  2. Add as dependency "bug-design-library" and "bug-library"
  3. Set as Design System "bug-design-library"
  4. Configure everything to run locally
  5. Try Run Locally and get an error

Launching lib\main.dart on Chrome in debug mode...
Error: unable to locate asset entry in pubspec.yaml: "dependencies/bug_design_library_ej0bql/assets/fonts/Test_Icon.ttf".
Failed to compile application.

Reproducible from Blank

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

Bug Report Code (Required)

IT4sls/l6otPvsdG1ZDuc8dB/WAUJlB+R5Iescp/bxIgGIDzPOw+ZPWlSFZvXuHnSmxmPESmmkQ1wcLIiOPfJO03NSiYfYhYzs52ew6XQmGlUZOBPrqKW0ZtHeRPGXGP4J+jrRFTBNZqck0uwFymJPK8bHXvQZz0IlFISq/LZO4=

Visual documentation

This has been tested on newly created projects. I give permission for their analysis and changes.

  1. bug-project-tifu4g

IT4sls/l6otPvsdG1ZDuc8dB/WAUJlB+R5Iescp/bxIgGIDzPOw+ZPWlSFZvXuHnSmxmPESmmkQ1wcLIiOPfJO03NSiYfYhYzs52ew6XQmGlUZOBPrqKW0ZtHeRPGXGP4J+jrRFTBNZqck0uwFymJPK8bHXvQZz0IlFISq/LZO4=

  1. bug-library-6sotts

IT4sls/l6otOseFZ15D+YMZR/GIWQzN/bZ0wscp/bxIgGIDzPOw+ZPWlUBJuTu2rTX9fe0SmmkcFpsryidrLIfE4BweVfY9y/qVcQwryYF65a5OBPrqKW0ZtHeRPGXGP4J+jrRFTBNZqck0uwFymJPK8bHXvQZz0IlFISq/LZO4=

  1. bug-design-library-ej0bql

IT4Kls/l6ot2sdtK1arcbO9VtCAsH0AnarsWltV+Tg8gIZztG7YAW/SkQE9WZ7yhdH03OUyGnTkdzPDUvebIN8E5GymuR4txzJYJawndQj+VMIizPquCeHBPGtpKCkyd052s3RN/KbN2cWQF3zqQFujKbCrDCYDsNUQdJM+iFIP4s3/uQ0SLb3kNh1JWeC/v

Environment

- FlutterFlow version: v5.1.2+ released January 29, 2025
- Platform: Web
- Browser name and version: Chrome 132.0.6834.160 / Edge 131.0.2903.112
- Operating system and version affected: Windows 10

Additional Information

No response

@stasik0808 stasik0808 added the status: needs triage A potential issue that has not been confirmed as a bug. label Feb 2, 2025
@Alezanello Alezanello self-assigned this Feb 4, 2025
Copy link
Collaborator

Hello!

Sorry for the delay. I'll take a closer look and get back to you with an update soon!

Copy link
Collaborator

Hello!

I'm sorry, but I wasn’t able to replicate the issue. It’s possible that it was fixed in a recent update. Could you try compiling it again and see if the issue persists?

If possible, a screen recording of your implementation would be really helpful. That way, I can check if there’s a step I might have missed that wasn’t mentioned in the report.

@Alezanello Alezanello removed the status: needs triage A potential issue that has not been confirmed as a bug. label Feb 11, 2025
@Alezanello Alezanello added the status: can't reproduce Following the reported steps did not reproduce the bug. label Feb 11, 2025 — with Linear
@stasik0808
Copy link
Author

stasik0808 commented Feb 12, 2025

@Alezanello
The problem persists

I don't fully understand how you can't reproduce this error. I just repeated it on a completely different device. Also, to exclude platform specificity, I tested it on an Android device - the result is the same.

There is no material for a video, since we are talking about creating projects and connecting them. The video will be from transitions from project to project. I will try to show important points where an error is possible.

Design Library

  • Need to add custom icons
  • Make project as Library

Image

Library

  • Need to add a previously created project (Design Library) as dependency

Image

  • And add this same design library as a design system
  • Also make the project a library

Image

Project

  • Need to add a previously two created project (Design Library and Library) as dependency

Image

  • Add same design library as a design system

Image

  • Try to run the project through the local launch function
Desktop.2025.02.12.-.18.08.35.02.mp4

@stasik0808
Copy link
Author

@Alezanello
Any updates?

@Alezanello Alezanello removed the status: can't reproduce Following the reported steps did not reproduce the bug. label Feb 20, 2025
@Alezanello Alezanello added status: confirmed Issue has been reproduced and confirmed as a bug. Bug labels Feb 20, 2025 — with Linear
Copy link
Collaborator

Confirmed! I'll forward this issue to the engineering team for a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Icon status: confirmed Issue has been reproduced and confirmed as a bug. Team Libraries
Projects
None yet
Development

No branches or pull requests

5 participants