Skip to content

[Web] [Video_Player] [canvaskit] Exiting full screen makes images black - regression between flutter-2.4-candidate.2 and latest master (broken by 2.4.0-4.0.pre) with WebGL error #89037

@zambetpentru

Description

@zambetpentru

Greetings,

I have another video player related bug. I think it's separate from the others I've raised and it is related to a specific regression that affects image widgets when you exit from fullscreen video.

Stable 2.2.3 - can't test as video fullscreen is broken that far back

Working fine:
2.4.0-0.0.pre
flutter-2.4-candidate.1
flutter-2.4-candidate.2

Broken:
2.4.0-4.0.pre
2.6.0-1.0.pre.84 Also makes the image go black when you shrink and then expand the window size, that one seems to be related to the regression in #88688

Demo Video:

video1.mp4

image

Link to repo: https://github.com/zambetpentru/flutter_89037_video_exit_fullscreen_black_image

flutter doctor

[√] Flutter (Channel master, 2.6.0-1.0.pre.84, on Microsoft Windows [Version 10.0.17763.2114], locale en-IE)
• Flutter version 2.6.0-1.0.pre.84 at C:\Code\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 6cdc159 (2 hours ago), 2021-08-27 05:36:04 -0400
• Engine revision faa1dab
• Dart version 2.15.0 (build 2.15.0-62.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Omega\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
• All Android licenses accepted.

[√] Chrome - develop for the web
• CHROME_EXECUTABLE = C:\Code\FlutterTesting\ChromeCORS.bat

[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android\Android Studio
• 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.8+10-b944.6842174)

[√] VS Code (version 1.59.1)
• VS Code at C:\Users\Omega\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.25.0

[√] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159
• Edge (web) • edge • web-javascript • Microsoft Edge 92.0.902.73

• No issues found!

Metadata

Metadata

Labels

assigned for triageissue is assigned to a domain expert for further triagec: regressionIt was better in the past than it is nowe: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webfound in release: 2.4Found to occur in 2.4found in release: 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: video_playerThe Video Player pluginplatform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions