Repository navigation
Closed
Labels
difficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understandingkind/enhancementNew feature or requestplatform/macos 🍏Categorizes an issue or PR as relevant to the macOS platformproject/media 📺Categorizes an issue or PR as relevant to media (MediaPlayer, WebView, PDF, Image, …)
Description
What would you like to be added:
Run the test about fullscreen on MacOC
And the tests on MediaPlayerElement the feature FullScreen do not work for macOS.
System.InvalidOperationException: IsFullScreen API must be used after KeyWindow is set
at Windows.UI.ViewManagement.ApplicationView.VerifyKeyWindowInitialized (System.String propertyName) [0x00013] in <f95c227ad1d14254888f333f677fdc3d>:0
at Windows.UI.ViewManagement.ApplicationView.get_IsFullScreen () [0x00000] in <f95c227ad1d14254888f333f677fdc3d>:0
at Windows.UI.ViewManagement.ApplicationView.ExitFullScreenMode () [0x00000] in <f95c227ad1d14254888f333f677fdc3d>:0
at Windows.UI.Xaml.Controls.MediaPlayerElement.ToogleFullScreen (System.Boolean showFullscreen) [0x0003c] in <aa57664632774dc991d581b1a92ed0c8>:0
at Windows.UI.Xaml.Controls.MediaPlayerElement+<>c__DisplayClass36_0.<OnIsFullWindowChanged>b__0 (Windows.UI.Xaml.Controls.MediaPlayerElement mpe) [0x0000c] in <aa57664632774dc991d581b1a92ed0c8>:0
at Uno.Extensions.ObjectExtensions.Maybe[TInstance] (TInstance instance, System.Action1[T] action) [0x00008] in <87f2dbd4a63f4c53a4a64fd32710c61d>:0 at Uno.Extensions.ObjectExtensions.Maybe[TInstance] (System.Object instance, System.Action1[T] action) [0x00000] in <87f2dbd4a63f4c53a4a64fd32710c61d>:0
at Windows.UI.Xaml.Controls.MediaPlayerElement.OnIsFullWindowChanged (Windows.UI.Xaml.DependencyObject sender, Windows.UI.Xaml.DependencyPropertyChangedEventArgs args) [0x0000d] in <aa57664632774dc991d581b1a92ed0c8>:0
at Windows.UI.Xaml.PropertyMetadata.RaisePropertyChanged (Windows.UI.Xaml.DependencyObject source, Windows.UI.Xaml.DependencyPropertyChangedEventArgs e) [0x0000a] in <aa57664632774dc991d581b1a92ed0c8>:0
at Windows.UI.Xaml.DependencyObjectStore.InvokeCallbacks (Windows.UI.Xaml.DependencyObject actualInstanceAlias, Windows.UI.Xaml.DependencyProperty property, Windows.UI.Xaml.DependencyPropertyDetails propertyDetails, System.Object previousValue, Windows.UI.Xaml.DependencyPropertyValuePrecedences previousPrecedence, System.Object newValue, Windows.UI.Xaml.DependencyPropertyValuePrecedences newPrecedence, System.Boolean bypassesPropagation) [0x000f7] in <aa57664632774dc991d581b1a92ed0c8>:0
at Windows.UI.Xaml.DependencyObjectStore.RaiseCallbacks (Windows.UI.Xaml.DependencyObject actualInstanceAlias, Windows.UI.Xaml.DependencyPropertyDetails propertyDetails, System.Object previousValue, Windows.UI.Xaml.DependencyPropertyValuePrecedences previousPrecedence, System.Object newValue, Windows.UI.Xaml.DependencyPropertyValuePrecedences newPrecedence) [0x00063] in <aa57664632774dc991d581b1a92ed0c8>:0
at Windows.UI.Xaml.DependencyObjectStore.InnerSetValue (Windows.UI.Xaml.DependencyProperty property, System.Object value, Windows.UI.Xaml.DependencyPropertyValuePrecedences precedence, Windows.UI.Xaml.DependencyPropertyDetails propertyDetails, System.Boolean isPersistentResourceBinding) [0x001cb] in <aa57664632774dc991d581b1a92ed0c8>:0
at Windows.UI.Xaml.DependencyObjectStore.SetValue (Windows.UI.Xaml.DependencyProperty property, System.Object value, Windows.UI.Xaml.DependencyPropertyValuePrecedences precedence, Windows.UI.Xaml.DependencyPropertyDetails propertyDetails, System.Boolean isPersistentResourceBinding) [0x0001a] in <aa57664632774dc991d581b1a92ed0c8>:0
at Windows.UI.Xaml.DependencyObjectStore.SetValue (Windows.UI.Xaml.DependencyProperty property, System.Object value) [0x00000] in <aa57664632774dc991d581b1a92ed0c8>:0
at Uno.UI.Controls.BindableNSView.SetValue (Windows.UI.Xaml.DependencyProperty dp, System.Object value) [0x00006] in <aa57664632774dc991d581b1a92ed0c8>:0
at Windows.UI.Xaml.Controls.MediaPlayerElement.set_IsFullWindow (System.Boolean value) [0x00006] in <aa57664632774dc991d581b1a92ed0c8>:0
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls.Given_MediaPlayerElement.When_MediaPlayerElement_SetIsFullWindow_Check_Fullscreen () [0x0018a] in <a030085659a1460b8683a0eef988e416>:0
at Uno.UI.Samples.Tests.UnitTestsControl+<>c__DisplayClass63_1.<ExecuteTestsForInstance>g__InvokeTestMethod|2 (Uno.UI.Samples.Tests.TestCase testCase) [0x0059b] in <9c3d710ab36f46618af1abce
Why is this needed:
To create a automatic test for macOC
For which Platform:
- WebAssembly
- Android
- iOS
- [x ] macOS (AppKit)
- Mac Catalyst
- Skia
- WPF
- GTK (Linux)
- Linux Framebuffer
- Tizen
- Windows
- Build tasks
- Solution Templates
Anything else we need to know?
Metadata
Metadata
Assignees
Labels
difficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understandingkind/enhancementNew feature or requestplatform/macos 🍏Categorizes an issue or PR as relevant to the macOS platformproject/media 📺Categorizes an issue or PR as relevant to media (MediaPlayer, WebView, PDF, Image, …)
Activity
MartinZikmund commentedon Jul 21, 2025
Full screen support will be reworked later in separate issue
github-actions commentedon May 4, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.