Skip to content
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

TrayIcon on ISingleViewApplication #8603

Open
DrWenz opened this issue Jul 26, 2022 · 1 comment · Fixed by #8604
Open

TrayIcon on ISingleViewApplication #8603

DrWenz opened this issue Jul 26, 2022 · 1 comment · Fixed by #8604
Labels

Comments

@DrWenz
Copy link
Contributor

DrWenz commented Jul 26, 2022

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:

  1. 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)
  • Version 0.10.17
@DrWenz DrWenz added the bug label Jul 26, 2022
@DrWenz
Copy link
Contributor Author

DrWenz commented Jul 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant