Currently, only the configuration of the last closed window is stored. That is a limitation in a multi-monitor environment. Our sessions system should be updated to:as follows.
Terminology:
**Workspace**: the layout of dockers, etc. for a single window (no change)
**Window layout**: a set of windows and the geometry, positions, screen and used workspace for each
**Session**: open documents & views, and the window layout in use
We should be able to:
* on startup...
* restore multiplwindows (ie. the windows layout)
* restore the workspace per window
* restore open files (session)
* windows should remember which display they were on, even if their logical numbering changes
* save a window layout
* restore a window layout
* have window layout react to changes in monitor orientation, either automatically or by saving a per-orientation version of the layout.
* save and restore named sessions
* make a window to automatically show the active document (when it changes in another window)
* restore open files* easily page through multiple documents (e.g. comic book pages)
* make it possible to save a multi-a workspace follow focus, ie. swap to any newly actived window workspace layout
Open questions
* make it possible to restore a multi-window workspace layout # How should windows behave when a (secondary) display is unplugged and later reconnected?
* have workspace layouts react to changes in monitor orientation, either automatically or by saving a per-orientation version of the layout. # How should windows behave when screen orientation changes?