Open BrodieRobertson opened 1 month ago
That buggy-feeling second initial workspace was also present in GNOME (not sure if it still is).
If I understand what you're describing correctly, it is so that there is one to drag things into, rather than having to click something to add a new one first. It confused me at first because I was used to having fixed work spaces in i3, and because in Android you have to add a new page manually, but once I realised what was going on it made sense.
No I get why COSMIC automatically generates new workspaces, the issue is that when COSMIC is first started there are 2 workspaces present, if you swap to the second without making any new windows it deletes the other workspace and goes back to 1.
https://github.com/user-attachments/assets/1780173e-313c-4ae1-b135-bb28e0c3eb84
In another case if you open a window and then delete the window it keeps 2 workspaces open, if you then swap back and forth a couple of times it decides to randomly delete the other workspace.
https://github.com/user-attachments/assets/24029522-646a-4910-8dc6-1a4a6ad7c6e2
When COSMIC is launched there are 2 open workspaces, as soon as you switch workspaces without opening a window that second one disappears leaving you with 1.
The way I understand it from testing is COSMIC uses a dynamic workspace system where it provides you with the current number of workspaces with open windows + 1. With 0 open windows you have 1 workspace, with an open window on workspace 1 you have 2 workspaces, with an open window on workspace 1 and 2 you have 3 workspaces, so on and so forth. Always leaving you with 1 workspace that is empty
Therefore when COSMIC is launched there should only be 1 workspace open.