New Test Version
Here's a new test version of View Manager that can save and apply split, split location and the columns in both left and right panes.
By default, a View will be of type Automatic and save & apply everything. In VM config, there's a checkbox above the list for the right pane that controls whether the split is shown or hidden. In Automatic that will be changed when you 'Save View' to match what you have on the screen.
You can change a View (in VM config) to be a Manual type view which adds checkboxes for whether to save/apply column settings in the left pane, show/hide the split pane and also whether to save/apply Sort order. The presence/absence of the splitter will not be changed with the Save View menu action.
These let you make Views that add (or change) split & right pane without changing the left pane, and Views without Sort or with only Sort as you like.
This is a compromise solution between useful features and intuitive (to me at least) configuration.
Let me know what you think.
Known Issues:
- Sort depth: Calibre limits how many sort columns it applies to 4 by default when apply_state() is called and at Calibre startup--not sure how I never noticed that before. But we can pass in a bigger value. This version saves and applies all sorted columns. Perhaps VM should be similarly limited instead?
- Also, it looks like Calibre forces Date aka timestamp(desc) into the sort order if not already included, either adding it or replacing the last(least precedence) sort item. Is this a concern or continue to ignore?
- VM PI doesn't currently rebuild its menu if you add/rename/remove a View from config but then hit Cancel instead of OK. Need to fix.
Last edited by JimmXinu; 05-12-2018 at 12:57 PM.
Reason: Remove obsolete test versions
|