Skip to content

Transparent images bug in Chrome 103 (works in Chrome 102) #106433

Closed
@luigi-rosso

Description

@luigi-rosso

It seems like images with alpha don't draw properly in Chrome (works in Safari) with Flutter. Using a simple image widget:

https://github.com/luigi-rosso/flutter_web_alpha_bug/blob/0cf2002f2174135b0a3f2cf274cf810c3ad50f45/lib/main.dart#L82

I'm not sure if this is a Flutter bug but I'd like to raise awareness and perhaps you can help us track down where this should be filed as it does severely impact Flutter.

Source for the example is here: https://github.com/luigi-rosso/flutter_web_alpha_bug

How it looks in Chrome Version 103.0.5060.53 (Official Build) (arm64):

CleanShot 2022-06-22 at 10 59 23

How it looks in Safari:

CleanShot 2022-06-22 at 11 02 59

In MacOS:

CleanShot 2022-06-22 at 10 59 55@2x

Works in CanvasKit's fiddle, but lots of other factors here including CanvasKit version...
image

[✓] Flutter (Channel unknown, 3.0.0, on macOS 12.3.1 21E258 darwin-arm, locale en-US)

Metadata

Metadata

Labels

P1High-priority issues at the top of the work lista: gamedevIssues related to game development with Fluttera: imagesLoading, displaying, rendering imagesbrowser: chrome-desktoponly manifests in desktop Chromec: renderingUI glitches reported at the engine/skia or impeller rendering levelcustomer: thrivee: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webengineflutter/engine repository. See also e: labels.found in release: 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions