In addition to this useful suggestion:
Often second window opened when need to open private tab.
If then close first window, Opera lost previously opened tabs! (just because I forgot to close private window first)
But wait, windows with private tabs should not (and does not) remember tabs. So private should not be counted as last window to remember opened tabs.
- window1 has 20 opened tabs.
- open new private window2
- close window1 -> it should now remember all opened tabs, because it is last regular window and private windows should not be counted.
- regardless of closing private window2 ...
- ... if I open another not private window - it should restore all 20 previous tabs - because it is first regular window
I believe this logic make sence