- edited description
NINA forgets (resets) Imaging tab layout every time I switch to another one (at least 1.10 HF1)
When I change layout of the Imaging tam and click to any other tab and return back everything is reset to default setting. Even image zoom is set to default 1:1 (that is ridiculous in itself).
This is the only errorI 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 (6)
-
reporter -
reporter - edited description
-
repo owner seems like the layout got corrupted. try to delete your avalon.config file inside %localappdata%\nina and try again if it works.
-
reporter There was no file of such name but I deleted avalondock.config that had 0 length and seemingly that have helped. NINA created a new one that has actual content in it.
-
reporter I’m not marking this a resolved since it might be an upgrade problem. If you think this was just a fluke feel free to close the issue.
-
repo owner - changed status to closed
can't reproduce it purely with upgrading the application. might just have been a fluke
- Log in to comment