Skip to content

Android scenario_app does not have a consistent background color (on CI?) #143602

@matanlurey

Description

@matanlurey

🚫 Blocking #143471.

In flutter/engine#50722, which should have no effect on goldens, I get a (flaky) diff:

image

Let me 🔍 in:

image

Location Left Pixel Right Pixel
0x0 #373737 #000000
1x0 #090909 #000000

In other words, sometimes the screen is entirely pure black (#000000), and sometimes the top has a dark grey 1-pixel border that is #373737, with the remaining screen being almost black (#090909). I don't see any of those colors referenced directly in the app.

Some other thoughts:

  • Flutter is not full screen (per @jonahwilliams it would be "clear to transparent black")
  • It's likely the non "pure-black" screen is some sort of inherited "Dark Mode" color scheme
  • We are not explicitly setting the theme anywhere, maybe some CI configurations are different?

For onlookers, the app is here: https://github.com/flutter/engine/tree/main/testing/scenario_app/android.

/cc @reidbaker @johnmccutchan if anything stands out to you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecte: scenario-appThe `testing/scenario_app` fixture in the engineplatform-androidAndroid applications specificallyteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions