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

Fix XAML Connected Animation crash (fixes #1913). #1945

Merged
merged 1 commit into from
Apr 6, 2018

Conversation

azchohfi
Copy link
Contributor

@azchohfi azchohfi commented Apr 5, 2018

Issue: #1913

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

The app crashes if there are two lists with the same instance of an object on one page and you add the xaml connected animations that animates the view to a different page.
This simple catch, avoids the app from crashing, if the item instances are the same.

What is the new behavior?

No crash.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Docs have been added/updated which fit documentation template. (for bug fixes / features)
  • Sample in sample app has been added / updated (for bug fixes / features)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Header has been added to all new source files (run build/UpdateHeaders.bat)
  • Contains NO breaking changes

Other information

@azchohfi azchohfi added this to the 3.0 milestone Apr 5, 2018
@azchohfi azchohfi requested a review from nmetulev April 5, 2018 21:59
Copy link
Contributor

@skendrot skendrot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we document that this is not supported?

@azchohfi
Copy link
Contributor Author

azchohfi commented Apr 6, 2018

It is supported. That's what this PR fixes. We were not sure that the fix would work when we created the bug, but with this fix it does.

@skendrot
Copy link
Contributor

skendrot commented Apr 6, 2018

So it doesn't crash and does the animation properly?

@azchohfi
Copy link
Contributor Author

azchohfi commented Apr 6, 2018

Exactly.

@skendrot skendrot merged commit db7ebf2 into master Apr 6, 2018
@windowstoolkitbot
Copy link

This PR is linked to unclosed issues. Please check if one of these issues should be closed: #1913

@skendrot skendrot deleted the avoidCrashConnectedAnims branch April 6, 2018 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants