>>107009698
>If you have 5 letters open, which one would be the “main”?
Not many programs work like this, do you have an example? For this use case almost everything would use tabs in 2025, and if you close the window containing the tabs then the parent process generally (rightfully) exits.
In cases where there is no background process happening, why keep anything running if all the windows are closed? Despite what people are pretending here most systems don't have limitless memory, and even if you "could" RAM wise its not like theres no penalty to doing so (less room for page cache etc).
>in most cases they represent documents
currently i have my browser, discord, vscode, my terminal, a music player, and a pdf reader open. None of those extremely common programs' window "represents a document" or in fact any logical single entity at all.