Describe the bug
When running ControlCatalog on ISingleViewApplicationLifetime app crashes on start because IWindowingPlatform is not registered on PlatformManager.CreateTrayIcon().
Unhandled exception. System.Exception: Could not CreateTrayIcon(): IWindowingPlatform is not registered. at Avalonia.Controls.Platform.PlatformManager.CreateTrayIcon() in /Users/wenzl/RiderProjects/Avalonia/src/Avalonia.Controls/Platform/PlatformManager.cs:line 29
To Reproduce
Steps to reproduce the behavior:
Run ControlCatalog.NetCore on Framebuffer or Drm.
Expected behavior
Working app.
Screenshots
Desktop (please complete the following information):
OS: TDX Wayland with XWayland 5.7.0-devel-20220627150124+build.0 (dunfell)
Not sure if it's a bug per definition, because there is no TrayIcon when rendering via FrameBuffer or DRM.
But in view of "Cross Plattform" I guess we should handle that.
Describe the bug When running ControlCatalog on
ISingleViewApplicationLifetime
app crashes on start becauseIWindowingPlatform
is not registered onPlatformManager.CreateTrayIcon()
.Unhandled exception. System.Exception: Could not CreateTrayIcon(): IWindowingPlatform is not registered. at Avalonia.Controls.Platform.PlatformManager.CreateTrayIcon() in /Users/wenzl/RiderProjects/Avalonia/src/Avalonia.Controls/Platform/PlatformManager.cs:line 29
To Reproduce Steps to reproduce the behavior:
Expected behavior Working app.
Screenshots
Desktop (please complete the following information):