Description
Which Umbraco version are you using?
16.0.0-rc6 and 919b65e
Bug summary
If you click on an already active page twice in the tree, it will give you a blank workspace. It happens only if the page is variable.
Specifics
Take for instance this URL as an example.

This is now the URL in the browser:
/umbraco/section/content/workspace/document/edit/c05da24d-7740-447b-9cdc-bd8ce2172e38/en-US/root
Now, click on the item again, and the URL changes to:
/umbraco/section/content/workspace/document/edit/c05da24d-7740-447b-9cdc-bd8ce2172e38/root
The /<language>
segment disappears and the workspace is blank:

Bonus: Click on the page a third time and the URL changes again:
/umbraco/section/content/workspace/document/edit/c05da24d-7740-447b-9cdc-bd8ce2172e38/en-US
Now, the /<language>
segment is visible, but the /root
segment disappears.
Steps to reproduce
- Click on a variable page in the document tree (happens only with variants, so it is okay for media)
- Click on it again
- See blank workspace
Expected result / actual result
The browser should stay on the same URL and the workspace should not be blank.
This item has been added to our backlog AB#53867