Replies: 2 comments
-
复现不了,不是每次都出现,把ursa源码集成过来,源码没有报错,问题还是出现
123
***@***.***
…------------------ 原始邮件 ------------------
发件人: "irihitech/Ursa.Avalonia" ***@***.***>;
发送时间: 2024年4月13日(星期六) 凌晨2:54
***@***.***>;
***@***.******@***.***>;
主题: Re: [irihitech/Ursa.Avalonia] System.InvalidOperationException: Visual already has a parent (Discussion #218)
如何复现呢?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
有时候点击u:NavMenuItem就直接应用程序退出,直接报avalonia的错误
System.InvalidOperationException: Visual already has a parent
at Avalonia.Rendering.Composition.CompositionVisualCollection.OnBeforeAdded(CompositionVisual item)
at Avalonia.Visual.SynchronizeCompositionChildVisuals()
at Avalonia.Rendering.Composition.CompositingRenderer.UpdateCore()
at Avalonia.Rendering.Composition.CompositingRenderer.Update()
at Avalonia.Rendering.Composition.Compositor.CommitCore()
at Avalonia.Rendering.Composition.Compositor.Commit()
at Avalonia.Media.MediaContext.CommitCompositor(Compositor compositor)
at Avalonia.Media.MediaContext.CommitCompositorsWithThrottling()
at Avalonia.Media.MediaContext.RenderCore()
at Avalonia.Media.MediaContext.Render()
at Avalonia.Threading.DispatcherOperation.InvokeCore()
at Avalonia.Threading.DispatcherOperation.Execute()
at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
at Avalonia.Threading.Dispatcher.Signaled()
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Client.Start.Program.Main(String[] args) in E:\Client.Start\Program.cs:line 37
Beta Was this translation helpful? Give feedback.
All reactions