FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

RichText widget - Font Weight bug #3062

Open cristian-dev-it opened 5 months ago

cristian-dev-it commented 5 months ago

Has your issue been reported?

Current Behavior

The different font weight set for single RichTextSpan element is not displayed correctly in: Builder, Test, Web (desktop) and Run. Instead is correctly displayed in Web (mobile).

Expected Behavior

The font weight of single RichTextSpan elements should be displayed correctly and according to its single settings.

Steps to Reproduce

  1. Create a page with a RichText widget
  2. Add some RichTextSpan element
  3. Set the font weight of one of them to different weight (i.e. "900 - Black")

Reproducible from Blank

Bug Report Code (Required)

IT8gl8/fz4pIseZE1aqNY8JVmiQvIjs5UOczje5+GBEjGKLtPKd3d8/8akpuXdCBa21EOVr8oF4KzPCPhIbXCPkFHE2CUbY63JVqdwr/XkO5MKq2PZO8Pn96FptjBX3Cy6SZ2CR8A+FqcVZm7TuEFd6idCbcJabMIFYRReabBKzU+1aRGA/RMBR7yikXEx7eTI5ODEz25eKMrop5yfj/0w==

Context

The displayed font weight is not consistent with the settings chosen in the FF app.

Visual documentation

Run: https://app.flutterflow.io/run/Ojzl17mlur07SZUusHnY Web (visit both from desktop and mobile): https://avanti-insieme-occhiobell.flutterflow.app/

Screenshot 2024-06-04 alle 22 20 14

https://github.com/FlutterFlow/flutterflow-issues/assets/24765669/4faaaef4-826b-49df-b92a-be48efdb2272

Screenshot 2024-06-04 alle 22 17 47

Screenshot 2024-06-04 alle 22 17 23

IMG_2717

Additional Info

No response

Environment

- FlutterFlow version: v4.1.53 released June 4, 2024
- Platform: macOS & web app
- Browser name and version: Chrome 125.0.6422.113 (Build ufficiale) (x86_64)
- Operating system and version affected: MacBook Pro Ventura 13.6.7 (22G720)
msusviela commented 5 months ago

Hi @Krystian95. I see what's the issue here but I wasn't able to replicate it. Is this issue still happening to you?

I'm using FlutterFlow v.4.1.54. I saw on the environment information you provided that you're using v 4.1.53. Can you please check you're working on the latest one?

cristian-dev-it commented 5 months ago

Hi @Krystian95. I see what's the issue here but I wasn't able to replicate it. Is this issue still happening to you?

I'm using FlutterFlow v.4.1.54. I saw on the environment information you provided that you're using v 4.1.53. Can you please check you're working on the latest one?

Hi, I used both desktop and web platform, now updated, and the problem persists. I've updated the environment information.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

msusviela commented 4 months ago

Hi @Krystian95. Apologies for the late response. We were able to reproduce this. I sent this to the ENG team so they can work on this.