Can someone test this, please?
01.03.24 Fixed: When "Save on Exit" - "Directories" is unchecked but "Panels" is checked, then don't save the view mode if the current tab is different from the saved tab, or the current tab is locked (32/64)
Here are the instructions to reproduce the first bug (first tab becomes a tree):
1. Start Total Commander 11.03 with a fresh wincmd.ini via totalcmd.exe /i=c:\users\yourusername\tctest.ini
2. Go to a subdirectory of your choice
3. Open a second tab with Ctrl+T
4. Switch to the first tab (important)
5. Choose menu Configuration - Save settings
6. Close and re-open Total Commander to make sure it opens with the first tab, and it shows a directory
7. Go to Configuration - Options - Operation
8. In section "Save on exit", uncheck "Directories" but check "Panels"
9. Click OK
10. Switch to the second tab
11. Choose Show - Tree (hotkey Ctrl+F8)
12. Exit Total Commander 11.03
13. Re-open Total Commander 11.03 with the same ini
-> Bug: Although we changed the second tab to a tree, the first tab now shows a tree!
To reproduce the fix in TC 11.50:
14. Choose Show - Full
15. Choose menu Configuration - Save settings
16. Exit Total Commander 11.03
17. Start Total Commander 11.50 beta with the same ini file as above
18. Make sure that the first tab was the current tab on startup, and it shows a directory
19. Switch to the second tab
20. Choose Show - Tree (hotkey Ctrl+F8)
21. Exit Total Commander 11.50
22. Re-open Total Commander 11.50 with the same ini
-> As explained above, the tree view is not saved now. We still get directories on both tabs.
Here are the instructions to reproduce the second bug (locked tab):
1. Start Total Commander 11.03 with a fresh wincmd.ini via totalcmd.exe /i=c:\users\yourusername\tctest.ini
2. Go to a subdirectory of your choice
3. Open a second tab with Ctrl+T
4. Right click on the tab and choose "Locked but directory changes allowed"
5. Choose menu Configuration - Save settings
6. Go to Configuration - Options - Operation
7. In section "Save on exit", uncheck "Directories" but check "Panels"
8. Click OK
9. Make sure that the current tab is the tab locked in step 4
10. Choose Show - Tree (hotkey Ctrl+F8)
11. Exit Total Commander 11.03
12. Re-open Total Commander 11.03 with the same ini
-> Bug: The locked tab still shows the tree, but with the directory name as header. Clicking on the header doesn't revert to the directory.
13. Choose Show - Full
14. Choose menu Configuration - Save settings
15. Exit Total Commander 11.03
16. Start Total Commander 11.50 beta with the same ini file as above
17. Make sure that the current tab is the tab locked in step 4, and shows a directory
18. Choose Show - Tree (hotkey Ctrl+F8)
19. Exit Total Commander 11.50
20. Re-open Total Commander 11.50 with the same ini
-> As explained above, the tree view is not saved now.