helios
helios copied to clipboard
XmlLayoutSerializer.cs ?
Hi, I'm trying to load "Loz SM v2.1" profile from Cap Loz into the Profile Editor. Starting the Profile Editor in debug mode gives clues to what is going wrong. The code breaks and tries to locate "XmlLayoutSerializer.cs" last seen at C:\localdev\WTK\40\avalondock-102188\Version2.0\Xceed.Wpf.AvalonDock\Layout\Serialization\XmlLayoutSerializer.cs Do you have any idea about what is going on?
Btw, in EngineTemp.cs, should the namespace be "GadrocsWorkshop.Helios.Gauges.A_10.EngineTemp" instead of "GadrocsWorkshop.Helios.Gauges.A_10.EngineRPM"
Hi, I think I can shed some light on this matter. Profiles created with Helios 1.3.190 profile editor (old) produces errors when opened in open source Helios profile editor (new) and vice versa. I created the simplest possible profile in the two editors and compared the result using a text editor. Below is the profile created in the old editor: ?xml version="1.0" encoding="utf-8"? HeliosProfile Version3/Version Monitors Monitor Location0,0/Location Size1920,1080/Size HiddenFalse/Hidden OrientationDMDO_DEFAULT/Orientation AlwaysOnTopTrue/AlwaysOnTop Background / Children Control TypeIdentifier="Helios.A10.ADI" Name="ADI" SnapTarget="True" Locked="False" Location0,0/Location Size350,350/Size HiddenFalse/Hidden Children / /Control /Children /Monitor /Monitors Interfaces Interface TypeIdentifier="Helios.Base.ProfileInterface" Name="Profile" / Interface TypeIdentifier="Helios.Base.Keyboard" Name="Keyboard" KeyDelay30/KeyDelay /Interface /Interfaces Bindings / /HeliosProfile
The profile created in the new profile editor is slightly altered: ?xml version="1.0" encoding="utf-8"? HeliosProfile Version3/Version Monitors Monitor Location0,0/Location Size1920,1080/Size HiddenFalse/Hidden OrientationDMDO_DEFAULT/Orientation AlwaysOnTopTrue/AlwaysOnTop Background / Children Control TypeIdentifier="Helios.A10.ADI" Name="ADI" SnapTarget="True" Locked="False" Location0,0/Location Size350,350/Size HiddenFalse/Hidden Children / /Control /Children /Monitor /Monitors Interfaces Interface TypeIdentifier="Helios.Base.Keyboard" Name="Keyboard" KeyDelay30/KeyDelay /Interface Interface TypeIdentifier="Helios.Base.ProfileInterface" Name="Profile" / /Interfaces Bindings / /HeliosProfile
As you can see there is a swap in the order of interface descriptions. As a last step a open the old profile "Loz SM V2.1" and swapped the order of the interfaces. It worked, it opened in the new editor.
I noticed something else too, as stated in another issue by me, opening a simple profile like the one above in the new profile editor renders the View drop down menu options dead. As an example; closing the Profile Explorer window and then trying to reopen it from the drop down menu does not work. However, strangely enough, the modified "Loz SM V2.1" profile that can be opened in the new profile editor does not render the View drop down menu options dead! /DrSilfver
Delete all old .layout files. I need to add code to do this once we it runs. The new version of the AvalonDock has a new file format for serialization. This is a third party library so I don't want to change it source code.
@DrSilfver @Gadroc Fixed by https://github.com/BlueFinBima/helios/issues/80 which will get pushed back in the fullness of time.