Skip to content

applyPaintTransform() doesn't work in cross-coordinate-system situations #207

Closed

Description

@FlutterIssues

Issue by Hixie
Sunday Oct 18, 2015 at 00:48 GMT
Originally opened as https://github.com/flutter/engine/issues/1659


The contract for RenderBox is that the parent manages the position. Thus, no RenderBox should ever access its own parentData's position.

Unfortunately, applyPaintTransform() does exactly this.

Instead, we should pass the child to the parent's applyPaintTransform, and the parent should be responsible for doing the calculation.

Activity

  1. added this to the milestone on Nov 9, 2015
  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 9, 2015
  3. self-assigned this
    on Dec 10, 2015
  4. github-actions commented on Aug 17, 2021

    @github-actions

    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.

  5. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions