Skip to content

Workspace not reopened when switching browsers #2161

Closed

Description

@ntimo

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

Activity

  1. ntimo commented on Oct 10, 2020

    @ntimo
    Author

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

  2. code-asher commented on Dec 2, 2020

    @code-asher
    Member

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

    Check out #2276 for persisting terminals.

  3. nhooyr commented on Jan 20, 2021

    @nhooyr
    Contributor

    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?

  4. added and removed
    waiting-for-infoWaiting for more information from submitter
    on Jan 20, 2021
  5. nhooyr commented on Jan 20, 2021

    @nhooyr
    Contributor

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

  6. nhooyr commented on Jan 20, 2021

    @nhooyr
    Contributor

    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.

  7. 1 remaining item

  8. bugwheels94 commented on Jan 1, 2022

    @bugwheels94

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

  9. jsjoeio commented on Jan 3, 2022

    @jsjoeio
    Contributor

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

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

  10. code-asher commented on Jan 4, 2022

    @code-asher
    Member
  11. jsjoeio commented on Jan 4, 2022

    @jsjoeio
    Contributor

    Great, we'll test when 4.0.1 comes out.

  12. bugwheels94 commented on Jan 17, 2022

    @bugwheels94

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

  13. jsjoeio commented on Jan 18, 2022

    @jsjoeio
    Contributor

    @bugwheels94 that would be very helpful!

  14. stale commented on Jul 17, 2022

    @stale

    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.

  15. bosmart commented on Mar 23, 2023

    @bosmart

    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.

  16. spkane commented on Oct 24, 2023

    @spkane

    We are discussing this in some detail here:

    #3061 (comment)

  17. code-asher commented on Jul 11, 2024

    @code-asher
    Member

    I believe we got this fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions