With save_tabs_on_exit true and viewmode multipane, on opening ranger with saved tabs, the multipane browser lays out the space for each required tab, but only the first tab is populated with directory contents.
All saved tabs display their directory contents on launch
It's an annoying delay while I tab through each of the tabs to get them activated.
Presumably ViewMultipane's __init__() method needs some additional code to draw all tabs, rather than just main_column.
save_tabs_on_exit true and viewmode multipaneA couple of points:
restore_saved_tabs_on load to trigger a tab_restore on all tabs when loading, and make this option off by defaultAn addition to the second point. It could be a sliding window of a fixed width, every time switching tabs would leave the window you shift it minimally, e.g., 1, | 2, 3, 4 |, 5, 6 --go to 6-> 1, 2, 3, | 4, 5, 6 |.
It could be a sliding window of a fixed width, every time switching tabs would leave the window you shift it minimally
That would avoid the need for a tab - pane binding interface. There's another issue I'll document later that would need to be fixed in that case - changing tab order is not reflected in pane order, currently.
Would probably be good to add a "visible" highlight level in the tab list, too. Or, since the active pane is already highlighted in the browser, just turn the tab list highlight for "active tab" into "visible tabs" overall. Wouldn't change the behaviour of miller mode.