MartyIX

Results 209 comments of MartyIX

Ok, it seems like the most reasonable explanation is that the following line crashes for spans ```cs UIElement view = visualElement.ToPlatform(mauiContext); ``` because spans do not have platform views but...

Out of curiosity: Does this issue and the corresponding PR (https://github.com/xunit/visualstudio.xunit/pull/403) represent a fix for https://github.com/xunit/xunit/issues/2337? Or is https://github.com/xunit/xunit/issues/2337 about something else?

If anyone hits this issue on Mac Catalyst, then I recommend to read https://learn.microsoft.com/en-gb/dotnet/maui/fundamentals/windows?view=net-maui-7.0#ipados-and-macos-configuration. This issue was very helpful in discovering the root problem. Plus, https://github.com/davidbritch/dotnet-maui-issues/blob/f8a21f5735c6cafe6266449f83905725de520b70/WindowSizeDemo/WindowSizeDemo/Platforms/MacCatalyst/Info.plist#L29-L45 this is how to...

If one modifies ([source](https://github.com/microsoft/microsoft-ui-xaml/issues/8863#issuecomment-1717166040)) `Platforms\Windows\App.xaml` (in a MAUI app) to this effect: ```xaml ``` then picker's dropdown glyph changes to blue (and so on) and it stays blue even if...

I researched this here: https://github.com/dotnet/maui/issues/10490#issuecomment-2126718966 -> Another workaround idea is to write platform-specific code that would set the [FrameworkElement.RequestedTheme](https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.requestedtheme?view=windows-app-sdk-1.5#microsoft-ui-xaml-frameworkelement-requestedtheme) property for all elements where one requires correct theme on a...

@rmarinho I did not expect that this would get merged but I'm happy if the patch is actually correct. Anyway, would you consider adding the suggested backport label?

@IeuanWalker It is slated for .NET MAUI 8 Service Release 2. See above: ![image](https://github.com/dotnet/maui/assets/203266/1e92175b-0a7e-4fe2-a515-c3f0772a4c81)

> Can someone confirm that this is fixed for Windows too, please? You can try a nightly build (https://github.com/dotnet/maui/wiki/Nightly-Builds) to verify if the PR fixes your issue.