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

OpenGlException: Window 0 is invalid #16741

Closed
FG-rgb opened this issue Aug 20, 2024 · 1 comment
Closed

OpenGlException: Window 0 is invalid #16741

FG-rgb opened this issue Aug 20, 2024 · 1 comment
Labels

Comments

@FG-rgb
Copy link

FG-rgb commented Aug 20, 2024

Hi, we are using Avanolia 11.0.10 on a Windows 10 Build 14393.
The Main Window is shown, but when showing an addition Window, the WIndow has no content.
The following Exception is occuring on an on:

[Visual]Exception when rendering: 'Avalonia.OpenGL.OpenGlException: Window 0 is invalid.
at Avalonia.OpenGL.Egl.EglDisplay.CreateWindowSurface(IntPtr window)
at Avalonia.OpenGL.Egl.EglGlPlatformSurface.RenderTarget.BeginDrawCore()
at Avalonia.Skia.GlRenderTarget.BeginRenderingSession()
at Avalonia.Skia.SkiaGpuRenderTarget.CreateDrawingContext()
at Avalonia.Rendering.Composition.Server.ServerCompositionTarget.Render()
at Avalonia.Rendering.Composition.Server.ServerCompositor.RenderCore()'(ServerCompositor #66009902)

To Reproduce

Use Windows 10 Build 14393.
Use Avanolia 11.0.10.
Use a NativeMenu inside you app.
Click on a NativeMenuItem and show another window.

Expected behavior

No error is occuring and the Window is shown correctly.

Avalonia version

11.0.10

OS

Windows

Additional context

No response

@FG-rgb FG-rgb added the bug label Aug 20, 2024
@FG-rgb FG-rgb closed this as completed Aug 20, 2024
@FG-rgb
Copy link
Author

FG-rgb commented Aug 20, 2024

When upgrading to Avalonia 11.1.3 the bug is solved. There for I closed it.

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

No branches or pull requests

1 participant