Issue 270: Save window layouts in a way that allows them to be used across documents

issues
Status:open
Assigned To:Brendan MacLean
Type:Todo
Area:Skyline
Priority:4
Milestone: 
Opened:2013-11-12 by Brendan MacLean
Changed:2017-10-15 by Brendan MacLean
Resolved:
Resolution:
Closed:
2013-11-12 Brendan MacLean
Title»Save window layouts in a way that allows them to be used across documents
Assigned To»Brendan MacLean
Notify»Stephanie Kaspar
Type»Todo
Area»Skyline
Priority»3
Milestone»2.2
Skyline already saves the window layout from a document with the document so that it can be restored the next time the document is opened.

It would be helpful to extend this to saving the window layout separate from the document so that it may be used with a different document or a new document, or even just to switch layouts for different activities in the same document.

2014-01-08 Brendan MacLean
Milestone2.2»2.6

2014-04-12 Brendan MacLean

2014-08-28 Brendan MacLean
Milestone2.6»3.1
Sorry, Stephanie, this will have to wait until winter.

2016-01-06 Brendan MacLean
Assigned ToBrendan MacLean»Yuval
NotifyStephanie Kaspar»Stephanie Kaspar;Nick Shulman
Milestone3.1»3.6
Yuval, this could be another good one to work on. I think the spec would be:

Add a "Layout" menu item on the view menu, which starts out showing a sub-menu with just the following items:

Add...
Edit List...

Add shows a form that allows you to name the current layout.
Edit list allows you to edit the complete list of saved layouts, and export and import layouts for sharing (like reports - Nick can help with this).

We already have the ability to swap in any given layout, which we do all the time during the automated tutorial tests. The one complication here is that you are not guaranteed that the save chromatogram replicates will be the same across documents. Save view-specific information like selection in the Targets view will also probably not apply. So, we need to build in some new tolerance, and maybe find a way to store more general information about the chromatogram graphs, e.g. something like the settings we request in View > Arrange Graphs > Grouped (are they tabbed, row, column or grid? ordered in document order? specific number of panes, e.g. 3, 4, etc.?)

2016-07-07 Brendan MacLean
Also, as Nick recently pointed out, maybe we should just be saving the .sky.view (window layouts) whenever a document is closed so that it opens in the same layout. This could be problematic, if the user has imported results and hence got extra chromatogram graph panes but doesn't save those to the .sky file. However, the document replicates not matching the chromatogram graphs is a problem that would need to be solved for saving general layouts for use across multiple documents. All of our windows are standard (though some may not be possible to show based on whether or not you have results or a spectral library), but our chromatogram graph panes depend largely on the content of the document.

2017-10-15 Brendan MacLean
Assigned ToYuval»Brendan MacLean
NotifyStephanie Kaspar;Nick Shulman»
Priority3»4
Milestone3.6»