Yet again, I was recently reminded about how *ALL* current desktop environments suck rather badly when it comes to doing "session management" in the way that I want.
In short, my bottom line is:
Every time I wake up my computer to get some work done, I want it to effectively be in the exact same state as I left it (at least from "My POV"). This matters as I typically have several different projects on the go at a time, and want things in a particular state, ordered + grouped in a particular way.
What Currently Happens:
* Every time a system / browser / etc. update happens, a non-trivial chunk of my setup gets blasted away
* When it comes back, most if not all that state is now in a scrambled state that needs me to waste 10-15 minutes restoring it back to the way I want it, e.g
* On Home Windows Boxes (after a forced update),
* I only get back my Firefox windows on the right workspaces, and "maybe" if I'm lucky, all the folder windows I had open.
* Everything else (terminals, text editors, git clients, temporary reference image windows, etc.)... ALL GONE!
* Worse still, when I restore my Sublime Text windows, they all open again on the first Virtual Desktop, so now I have to spend time clunkily dragging them back to the ones I want them on!
* The only saving grace: My VMWare virtual machines all just get suspended, and then when I reanimate / restore them, they are exactly as I left them, each with their own window grouping state (like with the VNC sessions at work, but local)! Hmm... now there's an idea!
* On Work Windows Boxes (after a forced update - which happens once a month)
* Email usually comes back by itself... Usually... unless it is somehow time delayed, and now I get 2 from trying to open one myself
* I have to 2FA log back into 3-5 different SSH tunnels, so that I can then revive the corresponding VNC sessions. But, I need to space each 2FA login apart by 1 minute per attempt (assuming I don't typo the password, and need to try again a minute later again)
* I then need to restore my browser windows:
* Chrome for our internal tooling nearly always loses its open tabs (due to an IT policy), and so I have to spam the Ctrl-Shift-T key to bring them all back. With luck, I haven't also been kicked out of the tool, and need to re-sign in on the first such tab (or else all of them end up in "log in again" mode that doesn't take nicely to double-submits)
* Firefox for external "out in the wild" browsing
* Oh, and Teams... yeah, that thing never comes back after an update, and you have to search for it in the laggy Windows start/search thing, as pinning it doesn't work either (as the reinstalls always invalidate the old shortcuts!)
* On KDE Boxes
* Only the windows in the first workspace get restored
* Terminals and Dolphin windows all get closed, leaving only a single instance of each, stuck in your home folder (i.e. useless)
NOTE: Initially I was quite excited to see that both of these included a "Restore Session" option, thinking that this would be great for this very case. Unfortunately, that implementation is so braindead borked, that I have to leave it off! I mean, the problem is that it doesn't just do that on Machine / KDE Session restart! It does it every time you go to the taskbar launcher and try to fire up an extra window/instance! So, all of a sudden, you have double the number of terminals/folders open, all showing all the tabs you've already got open... UGH! That is so utterly stupid!