NINA hangs when switching remote connect clients - 1.10 HF3 Beta 001

Issue #832 resolved
txo created an issue

My usual setup is:

Imaging Rig:

  1. Network connected small PC without any peripheral connected
  2. Windows tablet that I use outside when I setup the rig or tune something
  3. Desktop PC with big 4k monitor

During normal session I connect several times from tablet and desktop to the imaging rig via remote desktop connection. What that means the virtual desktop resolution changes several times a session.

The problem is that sometimes (say one time every 3 sessions) after few switches between the two computers Nina hangs when I connect to the imaging rig from the desktop.

Both have different screen resolutions and scaling factors. 150% laptop (surface pro 6), 125% desktop. This bug is not present in production build. I noticed it almost immediately when I started playing with beta (I suppose it was 1.10 HF1)

This is the only error I see in logs tonight


----------------NINA - Nighttime Imaging 'N' Astronomy----------------

-------------------Running NINA Version 1.10.3.2001-------------------
-------------------------2021-03-30T21:36:48--------------------------
----------------------ASCOM Platform Version 6.5----------------------
---------------------.NET Version 4.0.30319.42000---------------------
---------------------Oparating System Information---------------------
---------------------------Is 64bit OS True---------------------------
------------------------Is 64bit Process True-------------------------
---------------------------Platform Win32NT---------------------------
--------------Version Microsoft Windows NT 10.0.19042.0---------------
---------------------------Major 10 Minor 0---------------------------
----------------------------Service Pack -----------------------------

[2021-03-30T21:37:57.2235] [ERROR] [MemberName] LoadAvalonDockLayout
[2021-03-30T21:37:57.2235] [ERROR] [FileName] E:\Projects\nina\NINA\ViewModel\DockManagerVM.cs
[2021-03-30T21:37:57.2235] [ERROR] [Message] Failed to load AvalonDock Layout. Loading default Layout!There is an error in XML document (0, 0). at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at Xceed.Wpf.AvalonDock.Layout.Serialization.XmlLayoutSerializer.Deserialize(TextReader reader)
at Xceed.Wpf.AvalonDock.Layout.Serialization.XmlLayoutSerializer.Deserialize(String filepath)
at NINA.ViewModel.DockManagerVM.LoadAvalonDockLayout(Object o)

Comments (4)

  1. Stefan B repo owner

    I’m constantly remoting into my imaging pc with different devices and resolutions, but never encountered this issue.

  2. txo reporter

    After the problem regarding corrupted UI configuration file has been resolved this issue seems gone away too.

  3. txo reporter

    Looks like the issue has been connected with corrupted UI conf file. After resolving the issue problem can't be reproduced.

  4. Log in to comment