You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Niya Omerska (Jira)" <ji...@apache.org> on 2020/11/06 15:26:00 UTC

[jira] [Created] (NETBEANS-4997) MS Edge defaultBrowserExecutable command not working with file schema in the url

Niya Omerska created NETBEANS-4997:
--------------------------------------

             Summary: MS Edge defaultBrowserExecutable command not working with file schema in the url
                 Key: NETBEANS-4997
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4997
             Project: NetBeans
          Issue Type: Bug
            Reporter: Niya Omerska


When using Microsoft Edge as browser for loading help content and passing URL which points to a local file (i.e. of the type *file:///C:<path_to_html_file>*) the browser is opened but the HTML is not loaded. 

*Root cause*: 
 * Library:  org-netbeans-modules-extbrowser-RELEASE112.jar
 * Class: MicrosoftEdgeBrowser.java
 * Method: defaultBrowserExecutable
 * params is set to */C start microsoft-edge:\{URL}*. However this command does not work for file: scheme (for reference: [https://stackoverflow.com/questions/31164253/how-to-open-url-in-microsoft-edge-from-the-command-line] )

 

*Workaround:*

Params is set to: */C start shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge \{URL}* (for reference: [https://stackoverflow.com/questions/44155087/how-to-open-local-html-file-with-ms-edge] )



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists