Skip to content

Zero-sigma blur causes crash in Skwasm #174583

@harryterkelsen

Description

@harryterkelsen

Steps to reproduce

Create and use an ImageFilter.blur(sigmaX: 0, sigmaY: 0).

Expected results

It should work without crashing.

Actual results

Skwasm crashes.

Code sample

See the code in engine/src/flutter/lib/web_ui/test/ui/filters_test.dart under the test 'does not throw for both sigmaX and sigmaY set to 0'.

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: web_skwasmSkwasm rendering backend for webr: fixedIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions