I added the ability to save and restore the GUI pane layout, including Narrow/Wide, what panes show, the pane sizes, and where supported by base calibre the pane positions. The new operations are added to the existing "Layout actions".
Notes:
- You can assign a keyboard shortcut to open the Layout actions menu.
- With the Action chains plugin you can assign shortcuts to specific menu actions such as restoring a layout.
- I included an API for plugin writers to use to save/restore/delete layouts (View manager?). The API methods are documented in calibre.gui2.actions.layout_actions.py.
This python template is a small example.
- While there I added toggling panes to the existing abilities to show and hide panes. All the pane visibility actions are visible in Action chains.
- The changes are in calibre source and will be included in the next calibre release.