Skip to content

TransformToVisual only manages translation #2114

Closed

Description

@dr1rrb

Current behavior

The transformation returned by UIElement.TransformToVisual only applies a translate between elements, and ignores scaling, rotation, etc.

Expected behavior

As UWP, any scaling, rotation, etc. in the visual tree between the 2 elements should also be applied by the transformation returned by UIElement.TransformToVisual

How to reproduce it (as minimally and precisely as possible)

Run tests TransformToVisual_Transform UI tests.

Environment

Nuget Package: Uno.UI
Package Version(s): 2.0
Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • Windows
  • Build tasks
  • Solution Templates

Visual Studio: irrelevant
Relevant plugins: none

Anything else we need to know?

This has been fixed on WASM by #2091, but the code have to be multi-targetted on all platforms

Activity

  1. added
    kind/bug
    triage/untriaged
    on Nov 18, 2019
  2. dr1rrb commented on Nov 18, 2019

    @dr1rrb
    MemberAuthor

    Note: As part of this work item, the tests added in #2091 should be converted to "Runtime test" instead of "UI tests"

  3. self-assigned this
    on Nov 18, 2019
  4. added
    platform/android 🤖
    platform/ios 🍎
    on Nov 18, 2019
  5. changed the title [-]TransformToVisual only manages translatation[/-] [+]TransformToVisual only manages translation[/+] on Nov 19, 2019
  6. dr1rrb commented on Jan 7, 2020

    @dr1rrb
    MemberAuthor

    This has been fixed by #2392

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugplatform/android 🤖platform/ios 🍎triage/untriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions