Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Re-)Opening a currently opened workspace should be NOOP #5630

Closed
kittaakos opened this issue Jul 3, 2019 · 0 comments · Fixed by #5632
Closed

(Re-)Opening a currently opened workspace should be NOOP #5630

kittaakos opened this issue Jul 3, 2019 · 0 comments · Fixed by #5632
Assignees
Labels
bug bugs found in the application help wanted issues meant to be picked up, require help workspace issues related to the workspace

Comments

@kittaakos
Copy link
Contributor

Description

It should be a NOOP when I open a workspace that is already opened. At least, this is how it works from the Open Recent Workspace... command, and it makes sense.

screencast 2019-07-03 13-36-02

Instead of the expected behavior, it opens the same workspace in a new tab:
screencast 2019-07-03 13-33-26

@akosyakov akosyakov added bug bugs found in the application help wanted issues meant to be picked up, require help workspace issues related to the workspace labels Jul 3, 2019
@vince-fugnitto vince-fugnitto self-assigned this Jul 3, 2019
vince-fugnitto added a commit that referenced this issue Jul 3, 2019
Fixes #5630

- fixes an issue that allows users to open a workspace
that is currently opened. If the user had the preference
`"workspace.preserveWindow"` set to `false` it would open
an identical workspace in a new tab, and if it was set to
`true` it would reload the workspace. Instead, an additional
check is performed to determine if the current workspace and
the new destination are equal, and if they are a NOOP is
instead performed by returning `undefined`.

Signed-off-by: Vincent Fugnitto <[email protected]>
vince-fugnitto added a commit that referenced this issue Jul 3, 2019
Fixes #5630

- fixes an issue that allows users to open a workspace
that is currently opened. If the user had the preference
`"workspace.preserveWindow"` set to `false` it would open
an identical workspace in a new tab, and if it was set to
`true` it would reload the workspace. Instead, an additional
check is performed to determine if the current workspace and
the new destination are equal, and if they are a NOOP is
instead performed by returning `undefined`.
- fixes issue present in `OPEN` and `OPEN_WORKSPACE`.

Signed-off-by: Vincent Fugnitto <[email protected]>
vince-fugnitto added a commit that referenced this issue Jul 3, 2019
Fixes #5630

- fixes an issue that allows users to open a workspace
that is currently opened. If the user had the preference
`"workspace.preserveWindow"` set to `false` it would open
an identical workspace in a new tab, and if it was set to
`true` it would reload the workspace. Instead, an additional
check is performed to determine if the current workspace and
the new destination are equal, and if they are a NOOP is
instead performed by returning `undefined`.
- fixes issue present in `OPEN` and `OPEN_WORKSPACE` for both
the browser and electron based applications.

Signed-off-by: Vincent Fugnitto <[email protected]>
vince-fugnitto added a commit that referenced this issue Jul 4, 2019
Fixes #5630

- fixes an issue that allows users to open a workspace
that is currently opened. If the user had the preference
`"workspace.preserveWindow"` set to `false` it would open
an identical workspace in a new tab, and if it was set to
`true` it would reload the workspace. Instead, an additional
check is performed to determine if the current workspace and
the new destination are equal, and if they are a NOOP is
instead performed by returning `undefined`.
- fixes issue present in `OPEN` and `OPEN_WORKSPACE` for both
the browser and electron based applications.

Signed-off-by: Vincent Fugnitto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application help wanted issues meant to be picked up, require help workspace issues related to the workspace
Projects
None yet
3 participants