Open pybride opened 1 year ago
Hi @pybride , I was not able to reproduce it. See below. Are my steps correct?
if you load it manually what do you see (via the more-->windows layouts):
Hi,
It works when loading a specific Windows Layout (the name is a bit misleading for me, I didn't though that it will include the column order too). Your repro is correct, it may come from a change I didn't yet pushed.
In LogMessagesUC_Load, I added the following code near the beginning to correctly display my extension tab.
`BookmarkModeUI();
if (!string.IsNullOrEmpty(Settings.LogsLayoutFileName) && File.Exists(Settings.LogsLayoutFileName)) { string name = Path.GetFileNameWithoutExtension(Settings.LogsLayoutFileName); wsLogs.LoadWorkspace(name, Settings.LogsLayoutFileName); wsLogs.ApplyWorkspace(name); } LoadWorkspace(CurrentLogLayoutFileName);
await LoadExtensions();`
I don't understand how that modification would override AnalogyGridlayout.xml
@pybride interesting. I'll check :)
Maybe it worth adding description (super tool tip) to the button if it misleading
@pybride Do you still experience this issue? I'm unable to reproduce it..
I retested with Serilog, and I still have the issue:
As columns and docking are stored in the same file, if the docking is correctly loaded, it should be the same for columns, but it isn't the case. I checked the layout file, and the VisibleIndex is set in correct order, and missing for the unwanted columns.
Ok, I want to see if I can fix it before releasing the next version
@pybride what do you mean by: "but additional window for docked views is still correctly displayed" and "if the docking is correctly loaded, it should be the same for columns, but it isn't the case."
the docking wording is not clear to me..
by docking, I mean a secondary window with logger tree and detail view docked in it. When the corresponding layout is used, this secondary windows is correctly displayed and positioned, regardless of it is just after start, after opening a file or after re-applying the layout.
For the columns, only re-applying the layout will (re)load them correctly, otherwise is always the default ones.
Describe the bug
Columns layout isn't persisted between sessions
AnalogyGridlayout.xml is correctly saved after the columns layout modifications, with the expected VisibleIndex for each column. But it is overridden when re-opening the log file.
ℹ Computer information
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
Modified columns layout should be applied
❌ Actual result
Default columns layout is used