Closed kuiperzone closed 11 months ago
Manifests when the user opens a new project and clicks on a (Main) Window in Explorer. The preview is not rendered until the user clicks away on another item, and then back to the Window.
NB. This bug seems only to be repeatable if window has a user control from another assembly.
The issue seems to be in the Design Host. See log below. Connects to Design Host OK, which then delivers only a frame of 1x1 pixel and nothing else : FRAME: 1, 1 x 1 px, 4 bytes
NEW SELECTED: MainWindow.axaml MainWindow.UpdateLoader RemoteLoader.Update RemoteLoader.UpdateThread Root Name: Window Is window RemoteLoader.StartHostNoSync AppAssembly: /mnt/DEVEL-1T/DOTNET/TerraPlot 0.10.18/KuiperZone.TerraPlot.Demo/bin/Debug/net7.0/KuiperZone.TerraPlot.Demo.dll GetFreePort Port: 46035 Process started OK Connection received Send scale: 1 Connection OK RemoteLoader.SendXaml AssemblyPath: /mnt/DEVEL-1T/DOTNET/TerraPlot 0.10.18/KuiperZone.TerraPlot.Demo/bin/Debug/net7.0/KuiperZone.TerraPlot.Demo.dll XamlFileProjectPath: /MainWindow.axaml RemoteLoader.MessageHandler Message type: StartDesignerSessionMessage RemoteLoader.MessageHandler Message type: UpdateXamlResultMessage UPDATE Exception: Error: RemoteLoader.MessageHandler Message type: FrameMessage FRAME: 1, 1 x 1 px, 4 bytes factory null: False IsImmediate: False
Note to self. To fix in next release.