window will reopen the same size in the same place.
Everything should do this by default.
Some programs do and some don't on my Mate Desktop (Mint) which looks a bit Win2K to Server 2003 style.
Programs that ignore the system and do their own (usually stupid) style of scrollbars, tabs, checkboxes, menu etc are REALLY Annoying, like current Thunderbird, Firefox, "Disks" and Viber.
I have bars on three sides that autohide:
Top is menu, terminal, kill, System info/Windows list
Bottom is workspaces, shutdown, lock, logout, taskbar icons, time-date etc.
Left is "quick launch" of Local programs
Right isn't autohide, so as to not mess up a 2nd screen (because hide stupidly moves the places bar rather than collapsing it) and is quick launch of Remote stuff,, such as email, browsers, packages, filezilla, PuTTY, connect to Server etc.
You can't make your OS/Desktop be fully "spatial". Some programs are ill behaved.