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

Adding an event listener to a xaml file using tab complete fails with Ensure Event Failed. #4124

Closed
marcelwgn opened this issue Feb 8, 2021 · 7 comments
Labels
area-External Not owned by the WinUI team, not actionable in this repository. area-Navigation Frame, Page no-issue-activity

Comments

@marcelwgn
Copy link
Collaborator

Describe the bug

Trying to add a new event for test page controls in XAML fails with "Ensure event failed":

Image showing Ensure Event Failed event message

Steps to reproduce the bug

  1. Open test page
  2. Try to add event (e.g. Button.Click) using XAML

If those don't repro, building, starting MUXControlsTestApp and retrying the stops usually shows the error message.
Expected behavior

Should create function instead of showing error message.

Additional context

Uno is also suffering from this (unoplatform/uno#982 , unoplatform/uno#1348 (comment))

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Feb 8, 2021
@marcelwgn
Copy link
Collaborator Author

Uno platform is also hitting this issue: unoplatform/uno#1348 (comment)

@StephenLPeters
Copy link
Contributor

@chingucoding is this an issue in the MuxControlsTest app or an issue when using Winui?

@StephenLPeters StephenLPeters added needs-author-feedback Asked author to supply more information. and removed needs-triage Issue needs to be triaged by the area owners labels Feb 9, 2021
@marcelwgn
Copy link
Collaborator Author

Both, this happens in the WinUI solution itsself with MUXControlsTestApp but also when writing simple UWP/WinUI apps.

@ghost ghost added needs-triage Issue needs to be triaged by the area owners and removed needs-author-feedback Asked author to supply more information. labels Feb 9, 2021
@StephenLPeters
Copy link
Contributor

So changing the title from "test pages" to "pages" would be appropriate?

@StephenLPeters StephenLPeters added area-External Not owned by the WinUI team, not actionable in this repository. area-Navigation Frame, Page labels Feb 10, 2021
@StephenLPeters StephenLPeters changed the title [Area-Internal] Cannot add event listener on test pages in XAML Adding an event listener to a xaml file using tab complete fails with Ensure Event Failed. Feb 10, 2021
@StephenLPeters
Copy link
Contributor

@YuliKl can we had this off to the VS team?

@StephenLPeters StephenLPeters removed the needs-triage Issue needs to be triaged by the area owners label Feb 10, 2021
@marcelwgn
Copy link
Collaborator Author

So changing the title from "test pages" to "pages" would be appropriate?

Yes, new title is fine.

@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-External Not owned by the WinUI team, not actionable in this repository. area-Navigation Frame, Page no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants