-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#31355Labels
c: renderingUI glitches reported at the engine/skia or impeller rendering levelUI glitches reported at the engine/skia or impeller rendering levele: web_htmlHTML rendering backend for WebHTML rendering backend for Webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 2.10Found to occur in 2.10Found to occur in 2.10has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Steps to Reproduce
- Execute
flutter run -d chrome --web-renderer htmlon the code sample - Compare the result with canvaskit
Code sample
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const MaterialApp(home: MyHomePage());
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key}) : super(key: key);
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SizedBox(
width: 100.0,
height: 100.0,
child: DecoratedBox(
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.topRight,
colors: <Color>[Colors.blue.withAlpha(0), Colors.blue],
tileMode: TileMode.repeated))))));
}
}Logs
❯ flutter run -d chrome --web-renderer html --verbose
[ +108 ms] executing: sysctl hw.optional.arm64
[ +21 ms] Exit code 1 from: sysctl hw.optional.arm64
[ ] sysctl: unknown oid 'hw.optional.arm64'
[ +6 ms] executing: [/Users/user/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +11 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[ ] executing: [/Users/user/flutter/] git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[ +21 ms] Exit code 0 from: git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[ ] 2.8.1
[ +26 ms] executing: [/Users/user/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +13 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [/Users/user/flutter/] git ls-remote --get-url origin
[ +12 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +147 ms] executing: [/Users/user/flutter/] git rev-parse --abbrev-ref HEAD
[ +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +6 ms] executing: sw_vers -productName
[ +17 ms] Exit code 0 from: sw_vers -productName
[ +1 ms] macOS
[ ] executing: sw_vers -productVersion
[ +20 ms] Exit code 0 from: sw_vers -productVersion
[ ] 12.2
[ ] executing: sw_vers -buildVersion
[ +65 ms] Exit code 0 from: sw_vers -buildVersion
[ +2 ms] 21D49
[ +101 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +12 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +57 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +31 ms] executing: sysctl hw.optional.arm64
[ +6 ms] Exit code 1 from: sysctl hw.optional.arm64
[ ] sysctl: unknown oid 'hw.optional.arm64'
[ ] executing: xcrun xcodebuild -version
[ +8 ms] Exit code 72 from: xcrun xcodebuild -version
[ ] xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
[ +70 ms] Skipping pub get: version match.
[ +229 ms] Launching lib/main.dart on Chrome in debug mode...
[ +135 ms] Updating assets
[ +79 ms] Waiting for connection from debug service on Chrome...
[ +79 ms] <- reset
[ +7 ms] /Users/user/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/user/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/user/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=false -DFLUTTER_WEB_USE_SKIA=false
--output-dill /var/folders/ms/dbnffgnn5dx2s5wvp5bqmxq40000gr/T/flutter_tools.484R9j/flutter_tool.WdBgy6/app.dill --libraries-spec file:///Users/user/flutter/bin/cache/flutter_web_sdk/libraries.json
--packages /Users/user/AndroidStudioProjects/gradient_bug/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root
/var/folders/ms/dbnffgnn5dx2s5wvp5bqmxq40000gr/T/flutter_tools.484R9j/flutter_tools.awLuYA --filesystem-scheme org-dartlang-app --initialize-from-dill
build/e1ffba66f615b3b54e08e2104bac7ab8.cache.dill.track.dill --platform file:///Users/user/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk_sound.dill --sound-null-safety
[ +14 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+13886 ms] Waiting for connection from debug service on Chrome... (completed in 14.0s)
[ ] Synced 28.4MB.
[ ] <- accept
[ ] Caching compiled dill
[ +92 ms] Using Google Chrome 98.0.4758.80
[ +104 ms] executing: sysctl hw.optional.arm64
[ +7 ms] Exit code 1 from: sysctl hw.optional.arm64
[ ] sysctl: unknown oid 'hw.optional.arm64'
[ +348 ms] [CHROME]:
[ ] [CHROME]:DevTools listening on ws://127.0.0.1:64592/devtools/browser/a95e9b72-1483-4df2-95a9-b1e3a7944263
[ +925 ms] DwdsInjector: Received request for entrypoint at http://localhost:64578/main_module.bootstrap.js
[ +6 ms] MetadataProvider: Loading debug metadata...
[ +12 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[ +5 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:64578/main_module.bootstrap.js
[+2156 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true
[ +70 ms] DevHandler: Debug service listening on ws://127.0.0.1:64620/Y_qDTPjaO1k=/ws
[ +20 ms] This app is linked to the debug service: ws://127.0.0.1:64620/Y_qDTPjaO1k=/ws
[ +10 ms] Debug service listening on ws://127.0.0.1:64620/Y_qDTPjaO1k=/ws
[ ] 💪 Running with sound null safety 💪
[ +3 ms] 🔥 To hot restart changes while running, press "r" or "R".
[ ] For a more detailed help message, press "h". To quit, press "q".
[ +1 ms] An Observatory debugger and profiler on Chrome is available at: http://127.0.0.1:64620/Y_qDTPjaO1k=
[ +409 ms] The Flutter DevTools debugger and profiler on Chrome is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:64620/Y_qDTPjaO1k=
[+3515 ms] DevHandler: Stopped debug service on ws://127.0.0.1:44456
[ +488 ms] Application finished.
[ +4 ms] "flutter run" took 22,855ms.
[ +80 ms] ensureAnalyticsSent: 75ms
[ +1 ms] Running shutdown hooks
[ ] Shutdown hooks complete
[ ] exiting with code 0
❯ flutter analyze
Analyzing gradient_bug...
No issues found! (ran in 2.1s)
❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.2 21D49 darwin-x64, locale en-IE)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.1)
[✓] Connected device (1 available)
! Doctor found issues in 1 category.zambetpentru
Metadata
Metadata
Assignees
Labels
c: renderingUI glitches reported at the engine/skia or impeller rendering levelUI glitches reported at the engine/skia or impeller rendering levele: web_htmlHTML rendering backend for WebHTML rendering backend for Webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 2.10Found to occur in 2.10Found to occur in 2.10has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version

