You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is when you apply x:DataType="local:AppShell" in AppShell.xaml, the text in LayoutItem completely disappears when running in Release mode. Everything works fine in Debug mode.
The issue is also described in #14865. After many hours of testing due to having to test only in Release mode, I found the bug.
It happens when you apply x:DataType="local:AppShell" on it.. Which is unfortunate since I'd like compiled bindings on it for improved data binding performance...
Steps to Reproduce
Create a new .NET MAUI App
Open AppShell.xaml
Make a wrap the ShellContent with a Flyoutitem
Write <Shell x:DataType="local:AppShell" ...>
Run in Debug to see that the text is visible, and then run in Release, and it's invisible.
Looking at your code, I see the x:DataType="local:AppShell" in <Shell>, but there is no data binding on that object so the binding context will never be AppShell.
Looking at your code, I see the x:DataType="local:AppShell" in <Shell>, but there is no data binding on that object so the binding context will never be AppShell.
Doesn't matter, this is simply a reproduction repo. Either way, it will still bug out with the text disappearance in release (tested with our product at another private repo).
ghost
locked as resolved and limited conversation to collaborators
Sep 1, 2023
Description
The issue is when you apply x:DataType="local:AppShell" in AppShell.xaml, the text in LayoutItem completely disappears when running in Release mode. Everything works fine in Debug mode.
The issue is also described in #14865. After many hours of testing due to having to test only in Release mode, I found the bug.
It happens when you apply x:DataType="local:AppShell" on it.. Which is unfortunate since I'd like compiled bindings on it for improved data binding performance...
Steps to Reproduce
Link to public reproduction project repository
https://github.com/shadowfoxish/Temp-CollectionViewFormattedStringSlowness
Version with bug
8.0.0-preview.6.8686
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
Android 13.0 - API 33
Did you find any workaround?
To remove the x:DataType="local:AppShell" in <Shell...>, which is not a good workaround since we lose compiled databindings.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: