Application URL / Scheme only works for some target applications

Not reproducible Issue #11896027

Details

Author
Igor P.
Created
May 4, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
20.10240
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Register a custom url protocol as in http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx.

  2. Create an HTML page with link to the custom protocol, and open the page in Edge.

  3. Click on a link.

Expected result

A prompt "Did you mean to switch the apps?", or the app itself opens; the behavior is consistent. If it works when providing the link to “Run” menu (available by WinR), or in other browsers (e.g. IE or Chrome), it should work in Edge as well.

Actual result

Depending on the app, a prompt may appear, or the app may open without a prompt, or nothing could happen.

Some observations for different commands:

  1. rundll32.exe C:\notexistent.dll, whatever %1
    Nothing happens in Edge (nothing happens in IE as well; from WinR: "There was a problem starting C:\notexistent.dll"; from Chrome: “Open CustomProtocolName?”)

  2. rundll32.exe C:\PROGRA~2\MICROS~1\Office15\OMSMAIN.DLL, OmsProtocolHandler %1
    The prompt “Did you mean to switch apps? Microsoft Edge is trying to open Microsoft Outlook Mobile Service” appears.

  3. cmd.exe, or C:\Windows\System32\cmd.exe
    Nothing happens in Edge (in IE: “Do you want to allow this website to open a program on your computer? Program: Windows Command Processor”).

"C:\Users\USERNAME\AppData\Local\Apps\2.0\GK5GW6Q0.NDR\6PLQPEYT.TR8\gith..tion_317444273a93ac29_0003.0003_5794af8169eeff14\GitHub.exe" -u="%1"
(on a PC with GitHub desktop installed in the corresponding directory)
The prompt “Did you mean to switch apps? Microsoft Edge is trying to open GitHub” appears.

  1. C:\PROGRA~2\MICROS~1\Office15\PROTOC~1.EXE "%1"
    If one is using an “excel://” link - Office starts up without a prompt. If one uses custom protocol link - the prompt "Did you mean to switch apps? Microsoft Edge is trying to open Office (desktop)" appears.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Steps to Reproduce

      Changed Status

    • This bug has marked as duplicate. Please follow the parent issue to get new updates.

    • Changed Status

    • Could you please clarify how is this a duplicate of #7181860?
      In my case, in all examples there was a single protocol handler available. Edge exhibits different behavior for different “command” content in registry; registry structure remains the same.

      Additionally, I’ve just checked, and the problem is still there in Microsoft Edge 40.15063.0.0 (Creators Update). It seems that you consider #7181860 to be partially fixed; could you please clarify if the problem I’ve described was fixed, and in what version?

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    • Hi Igor,

      You are correct.  This bug is unique.  I made the mistake of duplicating it due to it being in the same area.

      Thank you for re-opening it.  We will handle it as such.

      The MS Edge Team

    • Microsoft Edge Team

      Changed Assigned To to “wwatri”

      Changed Assigned To from “wwatri” to “Liang Z.”

      Changed Status to “Confirmed”

      Changed Assigned To to “Dave B.”

      Changed Assigned To from “Dave B.” to “Bruce M.”

      Changed Assigned To from “Bruce M.” to “Deepak A.”

      Changed Status from “Confirmed” to “Not reproducible”

    You need to sign in to your Microsoft account to add a comment.

    Sign in