Skip to content

Android PlatformView scrolls slowly. #111268

@toda-bps

Description

@toda-bps

Android PlatformView scrolling slow since 087750f

Roll Flutter Engine from 16fb19e72f88 to 9c3c233e2639 (1 revision) (#109532)
https://github.com/flutter/flutter/commit/087750f2f277c82e7e1a38cc113a49204efd9108

Related PR: flutter/engine#34182

engine commit: flutter/engine@9c3c233

Fix PlatformView multiple pointer crash caused by toMotionEvent (#34182)
https://github.com/flutter/engine/commit/9c3c233e2639bbb984b27937653b4335d50ee0a9

Example: HUAWEI MediaPad M5 SHT-W09 9.1.0.360(C635E8R1P2)

Good: 20ffb32 (previous commit of 087750f)

good-20ffb32fa7ac1d378787b9ab2dc8ec5209e722cc-480p.mov

Bad: 087750f

bad-087750f2f277c82e7e1a38cc113a49204efd9108-480p.mov

Sample app's code:

import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(const _App());

@immutable
class _App extends StatelessWidget {
  const _App();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: const WebView(
          initialUrl: 'https://flutter.dev/',
          javascriptMode: JavascriptMode.unrestricted,
        ),
      ),
    );
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)c: regressionIt was better in the past than it is nowe: device-specificOnly manifests on certain devicesengineflutter/engine related. See also e: labels.p: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.perf: speedPerformance issues related to (mostly rendering) speedplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions