Skip to content

[Engine] Engine::SetupDefaultFontManager blocks the UI thread before Dart main() when background font prefetch is still in flight #196376

Open

Description

@xRossKoh

Steps to reproduce

This issue occurs during cold startup of any Android Flutter app.

Code sample

Code sample
[Paste your code here]

Performance profiling on master channel

  • The issue still persists on the master channel

Timeline Traces

Perfetto trace of issue on my app: image

Perfetto trace of issue on Hello Flutter app: image

Video demonstration

Video demonstration

[Upload media here]

What target platforms are you seeing this bug on?

Android

OS/Browser name and version | Device information

The above Perfetto traces are obtained from benchmark runs on a low-end Mokey device.

Does the problem occur on emulator/simulator as well as on physical devices?

Yes

Is the problem only reproducible with Impeller?

No

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Activity

  1. added
    from: performance template
    on Nov 11, 2026
  2. changed the title [-][Android][Engine] Engine::SetupDefaultFontManager blocks the UI thread before Dart main() when background font prefetch is still in flight[/-] [+][Engine] Engine::SetupDefaultFontManager blocks the UI thread before Dart main() when background font prefetch is still in flight[/+] on Nov 11, 2026
  3. added
    platform-android
    engine
    c: performance
    perf: speed
    fyi-android
    team-engine
    on Nov 11, 2026
  4. added
    P2
    triaged-engine
    on Nov 16, 2026
  5. added
    triaged-android
    on Nov 17, 2026
  6. removed
    fyi-android
    triaged-android
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2c: performanceenginefrom: performance templateperf: speedplatform-androidteam-enginetriaged-engine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions