Skip to content

[Bug]: -r opens wrong file in wrong instance #5709

Closed
@danog

Description

@danog

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Firefox
  • Local OS: Arch
  • Remote OS: Arch
  • Remote Architecture: x86_64
  • code-server --version: 4.7.1 b562d4a with Code 1.71.2

Steps to Reproduce

  1. Open two code-server workspaces for folders a and b in two tabs
  2. In folder a, run code-server -r a.php

Expected

The first tab opens a/a.php

Actual

The second tab opens b/a.php

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions