When application exits fullscreen mode it is sent to the wrong screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gala |
New
|
Undecided
|
Unassigned |
Bug Description
Situation: 3 workspaces (A, B, C), A has 2 applcations, B has one application, C has one application.
You fullscreen one application on the first workspace, it will create a workspace at the very end (D), so now you have 4 workspaces (A, B, C, D). This is the first problem: the newly created workspace should be after A, so the result should be A, D, B, C.
If you quit the application on the first workspace, you will now have three workspaces (B, C, D). If you exit fullscreen mode, on the applcation, the application will be merged in workspace B, when it should be creating its own workspace before B.
I think the issue is easily solvable. When an application is fullscreened, do not move it to the end of the list, just add one more workspace after the app's current workspace. And when the application exits fullscreen mode just check if the original workspace exists, if it does, move the app there, if it does not, just exit full screen.