Skip to content

Workspace not reopened when switching browsers #2161

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

Closed
ntimo opened this issue Oct 6, 2020 · 16 comments
Closed

Workspace not reopened when switching browsers #2161

ntimo opened this issue Oct 6, 2020 · 16 comments
Labels
bug Something isn't working

Comments

@ntimo
Copy link

ntimo commented Oct 6, 2020

Description:

When opening a workspace file in code server and then switching to another browser or device code server will not reopen the exact same workspace.

Reproduce

  1. Open workspace file
  2. Open code server in a different browser
  • Web Browser: Chrome, Safari
  • Local OS: macOS 10.15.7 (19H2)
  • Remote OS: Ubuntu Server 20.04
  • Remote Architecture: amd64
  • code-server --version: 3.5.0 de41646

Relates to: #2154

@code-asher code-asher added bug Something isn't working needs-investigation labels Oct 8, 2020
@ntimo
Copy link
Author

ntimo commented Oct 10, 2020

I am not sure if this is related to the bug, but opened terminal windows will also be lost :(

@code-asher
Copy link
Member

Does this still happen in the latest release? I'm not able to reproduce.

Check out #2276 for persisting terminals.

@code-asher code-asher added the waiting-for-info Waiting for more information from submitter label Dec 4, 2020
@nhooyr
Copy link
Contributor

nhooyr commented Jan 20, 2021

I was able to reproduce on the latest version.

Screen Shot 2021-01-20 at 1 57 52 PM

Not sure if this is a bug or intended bug. Should code-server prompt me to open the workspace or automatically open it?

@nhooyr nhooyr added needs-decision and removed waiting-for-info Waiting for more information from submitter labels Jan 20, 2021
@nhooyr
Copy link
Contributor

nhooyr commented Jan 20, 2021

Wait actually it worked this time for me? Hold on...

@nhooyr
Copy link
Contributor

nhooyr commented Jan 20, 2021

Yea nvm I was confused, I tested and it works well.

@ntimo let us know if you can still reproduce on the latest release and I'll reopen.

@nhooyr nhooyr closed this as completed Jan 20, 2021
@ghost
Copy link

ghost commented Oct 30, 2021

I can easily reproduce it. When i open it in same browser then it works. Different Profiles in mac or different browsers or different devices it remembers nothing.

OS: Mac Monterey

My.Movie.mp4

@code-asher code-asher reopened this Nov 1, 2021
@code-asher code-asher added needs-investigation This issue needs to be further investigated and removed needs-decision labels Nov 1, 2021
@bugwheels94
Copy link

Hi, This bug is very problematic and defeats the main purpose of anyone using code-server in first place. Any update on this?

@jsjoeio
Copy link
Contributor

jsjoeio commented Jan 3, 2022

@code-asher we fixed this in the upcoming release, right?

Actually, I don't know if we tested switching browsers 🤔 Should this work?

@code-asher
Copy link
Member

code-asher commented Jan 4, 2022 via email

@jsjoeio
Copy link
Contributor

jsjoeio commented Jan 4, 2022

Great, we'll test when 4.0.1 comes out.

@jsjoeio jsjoeio added this to the 4.1.0 - improve iPad UX milestone Jan 4, 2022
@bugwheels94
Copy link

I am pretty sure that I can still reproduce this bug in 4.0.1 too. Let me know if screen record is needed

@jsjoeio
Copy link
Contributor

jsjoeio commented Jan 18, 2022

@bugwheels94 that would be very helpful!

@stale
Copy link

stale bot commented Jul 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

@stale stale bot added the stale label Jul 17, 2022
@bosmart
Copy link

bosmart commented Mar 23, 2023

I still have this problem in the latest version 4.11.0. I have a workspace open with terminal windows etc., when I try to access in another browser and the windows/terminals are no longer there.

@spkane
Copy link

spkane commented Oct 24, 2023

We are discussing this in some detail here:

#3061 (comment)

@code-asher
Copy link
Member

I believe we got this fixed!

@code-asher code-asher removed needs-investigation This issue needs to be further investigated stale labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants