Skip to content

The reference node is not a child of this node #36

Open

Description

@mnusr

Steps to reproduce:

  1. Run XamlDesigner project and add a button.
  2. Click the left skew handle and drag it down to skew the button a bit.
  3. Try to rotate it.

Exception thrown at line 513 in XamlProperty.cs

Activity

  1. jongleur1983 commented on Oct 6, 2019

    @jongleur1983

    I'd love to get some help solving this (see linked PR).
    I'm pretty sure, that the fix proposed in XamlProperty.cs is correct, but the functional behavior of the demo application is still strange and doesn't look correct IMHO.
    If anyone could verify and point me to the right direction, that would be great.

  2. jogibear9988 commented on Oct 7, 2019

    @jogibear9988
    Member

    Maybe your fix in XamlProperty is correct (I'll take a look), but to fix this correctly I think you need to fix
    ApplyTransform in ModelTools.cs

    The RotateTransform Extension does already use this, the Skew Extension not, so this needs to be fixed. And this function needs to be changed so it loads and keeps existing Transforms when applying a new one

  3. jongleur1983 commented on Oct 7, 2019

    @jongleur1983

    Thanks @jogibear9988 for the hint.
    Good to know that I may be on the right track.
    Looking forward to tackle the rest of this issue in the next days.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions