You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
RemoteWidget throws an exception when window's width or height is equal to zero and stops to render any frames.
StackTrace:
System.ArgumentException: Positive number required (Parameter 'size')
at Avalonia.Shared.PlatformSupport.StandardRuntimePlatform.UnmanagedBlob..ctor(StandardRuntimePlatform plat, Int32 size) in C:\Avalonia\src\Shared\PlatformSupport\StandardRuntimePlatform.cs:line 56
To Reproduce
Steps to reproduce the behavior:
Launch RemoteDemo example
Resize window so width or height is equal to zero
RemoteWidget displays blank image
Expected behavior
RemoteWidget should handle zero window size and continue rendering process when window size > 0.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Version 0.10.6
The text was updated successfully, but these errors were encountered:
Describe the bug
RemoteWidget throws an exception when window's width or height is equal to zero and stops to render any frames.
StackTrace:
System.ArgumentException: Positive number required (Parameter 'size')
at Avalonia.Shared.PlatformSupport.StandardRuntimePlatform.UnmanagedBlob..ctor(StandardRuntimePlatform plat, Int32 size) in C:\Avalonia\src\Shared\PlatformSupport\StandardRuntimePlatform.cs:line 56
To Reproduce
Steps to reproduce the behavior:
Expected behavior
RemoteWidget should handle zero window size and continue rendering process when window size > 0.
Screenshots
![BlankRemoteWidgetWindow](https://user-images.githubusercontent.com/1831879/121964536-fcb75480-cd6b-11eb-80f3-3d7e400515d5.gif)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: