Enhancement: Automatically close unrecognized tabs when the Editor is opened (e.g., the tabs of a plugin that was disabled). However, they are kept saved in the layout file in case they are recognized in future starts (e.g., if the plugin is re-enabled).
#rb lauren.barnes
[CL 8636280 by Gines Hidalgo in Dev-Editor branch]
Fix to JIRA UE-79515:
1) After loading any layout, now the changes work again after closing and re-starting the editor.
2) Attempting to SaveAs or Override the current layout with a different file name now clears the description and tooltip description to avoid confusion.
3) In addition, improved the layout tooltip to include the file path in Layouts with description.
#rb rex.hill
[CL 8371661 by Gines Hidalgo in Dev-Editor branch]
Enhacement JIRA UETOOL-1721: Introduced the capability to load/save/remove Editor UI Layouts, so that the user can customize the Editor and save/share it accross machines or people.
Additional enhancements: Re-loading a layout no longer requires the whole editor to restart. Instead, only the tabs are closed and re-populated (only creating a small "flash" in the editor rather than restarting it).
Previous Editor bugs fixed:
- Bug 1: AssetEditorToolkit.cpp::FAssetEditorToolkit::RestoreFromLayout was wrongly saving the layout in GEditorIni rather than GEditorLayoutIni.
- Bug 2: When the layout is saved, the instance ID of the custom toolkits was being saved as well. Given that this number keep increasing after each custom tab is created (no matter if the previous ones were already closed), the editor will keep thinking that the loaded layout is no longer the currrent layout. Fix in TabManager.h::FTabId::ToString().
- Bug 3: FLayoutSaveRestore::SaveToConfig was taking as input argument FString rather than const FString&.
#rb rex.hill, chris.gagnon
[CL 8129300 by Gines Hidalgo in Dev-Editor branch]