Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Flutter widgets get distorted while scrolling along with platform views #110414

Open
@orestesgaolin

Description

@orestesgaolin
Frame Video
CleanShot 2022-08-27 at 15 58 23@2x
scrolling_android9.mp4

Steps to Reproduce

  1. Execute flutter run on the code sample in flutter benchmarks
  2. Scroll very fast on Android (SM G950F (Samsung S8) • android-arm64 • Android 9 (API 28))
  3. Observe rotating widgets to be displayed as wide rectangles (see image above)

Expected results:

Widgets should not distort

Actual results:

Blue widget seems to be distorted

Logs
[✓] Flutter (Channel master, 3.1.0-0.0.pre.2539, on macOS 12.4 21F79 darwin-arm, locale pl-PL)
    • Flutter version 3.1.0-0.0.pre.2539 on channel master at /Users/dominik/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 281c2b9a68 (4 hours ago), 2022-08-27 05:59:34 -0400
    • Engine revision e5a8c34176
    • Dart version 2.19.0 (build 2.19.0-145.0.dev)
    • DevTools version 2.16.0

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/dominik/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • SM G950F (mobile) • ce031713b404900c0d • android-arm64  • Android 9 (API 28)
    • macOS (desktop)   • macos              • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)      • chrome             • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: animationAnimation APIsa: platform-viewsEmbedding Android/iOS views in Flutter appsf: scrollingViewports, list views, slivers, etc.found in release: 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyplatform-iosiOS applications specificallyteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions