-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Menu sample sometimes "Render" call fails. #3738
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
Comments
Hello RosarioPulella, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
Render
call fails.
Hmm, wonder if we missed updating something in the XAML. Very bizarre. Wonder if we try pulling the NuGet package and copying the sample XAML into an app if we'd see the same problem? Does the app get taken down or does it just not work the first time? |
When trying to make the sample code work in a project I would get this error Jumping to the error line did not help at all. But InteliSense highlighted |
The same change in the sample app did not seem to fix it. |
The sample just does not render the first time. |
Yeah, this is really weird. Fiddling with it, I can eventually get it to work with the same code that was there. I noticed a similar issue in ListDetailsView with one of the Styles... I feel like the only Sample App stuff that has changed was in #3648? But can't see how that'd be an issue here. We could try doing more comparisons between 6.1 and now. Though this really seems like some weird timing issue? |
@RosarioPulella did you test in Release mode too without the Debugger attached or only in Debug w/ Debugger? Wondering if it behaves the same way or not? |
So currently I am having issues building in release. But after some small changes to get it to build the menu sample does open up on the first try. I don't know how or why but not an issue in Release 🤔. I can still investigate the commits and see where it was introduced. |
@RosarioPulella let me know later (low priority) if you can still reproduce. Final built app for 7.0 seems fine. So I'm not too worried about this? |
I don't see this error on the released version either. But when I build the main branch ( 0ff1745 ) on Debug|Any CPU I still see the bug. |
We think this is fixed with the update to WinUI 2.6.2, just need to re-validate. |
Tested, no longer an issue. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When opening up the Menu sample the render call at
Microsoft.Toolkit.Uwp.SampleApp\Pages\SampleController.xaml.cs 506
fails the first time and works after waiting and opening up the Menu sample a second time. Thetext
that is being rendered is the same on the times that it fails as the times that it succeeds.failed.txt
This error get logged.
Exception thrown: 'Windows.UI.Xaml.Markup.XamlParseException' in Microsoft.Toolkit.Uwp.SampleApp.exe WinRT information: Unknown parser error: Scanner 2148734242. [Line: 205 Position: 41]
Broke in the split controls merge.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: