Skip to content

Protocol handler not triggered when running out of sources on Windows #85046

Closed

Description

Issue Type: Bug

  1. Run code-oss on windows
  2. Paste code-oss://github.vscode-pull-request-github-insiders/did-authenticate into the browser and click "Open" in resulting dialog

protocolhandlererror

Works on Mac still, haven't tried Linux

VS Code version: Code - OSS Dev 1.41.0 (Commit unknown, Date unknown)
OS version: Windows_NT x64 10.0.18363

Activity

  1. added
    bug
    help wanted
    on Nov 19, 2019
  2. jzyrobert commented on Nov 20, 2019

    @jzyrobert
    Contributor

    Hi, I have tracked this down to

    src\vs\platform\url\electron-main\electronUrlListener.ts
    Code_hAI8wXQggg

    It seems that when you run Code - OSS.exe, the command is missing:
    powershell_QfDBM4tjo4

    By hardcoding my vscode folder location in:
    Code_r5TsVoPa6R

    The app is able to open:
    7u3uZo5uWg

    Is there a command/utility function that will give this location?

  3. joaomoreno commented on Nov 21, 2019

    @joaomoreno
    Contributor

    Robert Jin (@jzyrobert) Bingo!

    You should add this to the array only if not isBuilt and you can get that path from one of these properties.

  4. joaomoreno commented on Nov 28, 2019

    @joaomoreno
    Contributor

    Verification: This is a Windows only issue.

  5. locked and limited conversation to collaborators on Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bughelp wantedverifiedworkbench-os-integration

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions