Skip to content

Render glitch when Paint uses ImageFilter on all platforms except web  #57180

@matthew-carroll

Description

@matthew-carroll

I'm seeing a rendering bug on Android that does not appear on iOS. The issue occurs when painting with a blur in a CustomPainter.

The offending Paint configuration is:

blurPaint = Paint()
          ..imageFilter = ImageFilter.blur(sigmaX: 10, sigmaY: 10)
          ..color = Colors.red;

On iOS, we see the expected result:

paint-bug-repro_ios

However, on Android, whether using an emulator or a physical device, we see this:

paint-bug-repro_android

There appears to be some kind of quadrant artifact in the rendered result.

Flutter version:

Flutter 1.19.0-2.0.pre.15 • channel master • https://github.com/flutter/flutter.git
Framework • revision c969b8a (2 days ago) • 2020-05-11 15:28:10 -0700
Engine • revision ada8a0f
Tools • Dart 2.9.0 (build 2.9.0-8.0.dev a6d06b59ec)

Repro project:

https://github.com/matthew-carroll/flutter_bug_repro_57180

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: renderingUI glitches reported at the engine/skia or impeller rendering levelcustomer: productengineflutter/engine related. See also e: labels.found in release: 1.25Found to occur in 1.25has reproducible stepsThe issue has been confirmed reproducible and is ready to work on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions