Skip to content

[Android][PlatformView] Screen Flicker Caused by Hybrid Composition (Regression) #162310

@delfme

Description

@delfme

Steps to reproduce

This issue occurs only with Flutter 3.27 and is not present in Flutter 3.24.

When a PlatformView is used, the entire screen flickers during screen transitions.

Steps to reproduce:

Expected results

No flickering.

Actual results

Flickering.

Code sample

Code sample

flutter-native-text-input_repo.zip

Screenshots or Video

Screenshots / Video demonstration

Flickering with flutter 3.27

flickering.mov

No flickering with flutter 3.24

no-flcikering.mp4

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[✓] Flutter (Channel master, 3.27.0-1.0.pre.123, on macOS 14.2.1 23C71 darwin-arm64, locale en-IT)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] Connected device (5 available)
[✓] Network resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: regressionIt was better in the past than it is nowe: impellerImpeller rendering backend issues and features requestsfound in release: 3.28Found to occur in 3.28found in release: 3.29Found to occur in 3.29has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyplatform-views: hcIssues specific to the Hybrid Composition platform views backendr: solvedIssue is closed as solvedteam-androidOwned by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions