Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Impeller] matrix image filter is not working as expected with nested saving layers #122674

Closed
ColdPaleLight opened this issue Mar 15, 2023 · 1 comment · Fixed by flutter/engine#40299
Assignees
Labels
e: impeller Impeller rendering backend issues and features requests engine flutter/engine repository. See also e: labels. P2 Important issues not at the top of the work list r: fixed Issue is closed as already fixed in a newer version

Comments

@ColdPaleLight
Copy link
Member

It can reproduce on master channel.

Reproduce code

Code
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: MyHomePage());
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Align(
        alignment: Alignment.center,
        child: Container(
          child: Transform.translate(
            offset: Offset(50, 50),
            filterQuality: FilterQuality.high,
            child: Center(
              child: Transform.scale(
                scale: 0.2,
                filterQuality: FilterQuality.high,
                child: Container(
                  width: 100,
                  height: 100,
                  color: Colors.blue,
                ),
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Expected result

Image

Actual result

Image
@ColdPaleLight ColdPaleLight self-assigned this Mar 15, 2023
@ColdPaleLight ColdPaleLight added e: impeller Impeller rendering backend issues and features requests P2 Important issues not at the top of the work list engine flutter/engine repository. See also e: labels. labels Mar 15, 2023
@ColdPaleLight ColdPaleLight moved this from 🤔 Needs Triage to 🐞 Bugs in Impeller Mar 15, 2023
@github-project-automation github-project-automation bot moved this to 🤔 Needs Triage in Impeller Mar 15, 2023
@github-project-automation github-project-automation bot moved this from 🐞 Bugs to ✅ Done in Impeller Mar 15, 2023
@ColdPaleLight ColdPaleLight added the r: fixed Issue is closed as already fixed in a newer version label Mar 16, 2023
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
e: impeller Impeller rendering backend issues and features requests engine flutter/engine repository. See also e: labels. P2 Important issues not at the top of the work list r: fixed Issue is closed as already fixed in a newer version
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant