View Issue Details

IDProjectCategoryView StatusLast Update
0037831PackagesLCLpublic2020-09-30 17:18
ReporterMarton Papp Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOS10 
Product Version2.0.10 
Summary0037831: openurl does not work under Windows 10
Descriptionopenurl does not work under Windows 10
it does not open a browser, it does not open edge and chrome.
note browser.exe homepage.html does not work in normal command line, command prompt either.
Steps To Reproducejust enter chrome.exe -- cnn.com in command line, command prompt., this is what lcl executes too..
different method should be found... it does not seem to work.

TagsNo tags attached.
Fixed in Revision
LazTarget
Widgetset
Attached Files

Activities

jamie philbrook

2020-09-28 22:36

reporter   ~0125945

I just tested this with the Trunk on a Winpro 10 and older versions of laz on windows 10 Home Pro using "https://google.net') and works fine on both of
my PC's

  A note however is that Windows requires elevated access to launch some apps and thus you may need to do this through the ShellExec instead.

Marton Papp

2020-09-30 09:39

reporter   ~0125975

Mine is freshly installed Windows Home 10. and openurl does not work.

Bart Broersma

2020-09-30 17:16

developer   ~0126006

Can you step through the code an see where it fails?
I cannot reproduce it, but I have FF as my default browser.
AIK it can properly open an URL in Edge (this was extensively tested).
We haven't had any bugreports about OpenURL not working with Chrome yet.

Bart Broersma

2020-09-30 17:18

developer   ~0126007

> note browser.exe homepage.html does not work in normal command line
That sounds like a misconfigured browser.

As a workarond for now you can use ShellExecute() to open the url in the default browser.

Issue History

Date Modified Username Field Change
2020-09-28 10:31 Marton Papp New Issue
2020-09-28 22:36 jamie philbrook Note Added: 0125945
2020-09-30 09:39 Marton Papp Note Added: 0125975
2020-09-30 17:16 Bart Broersma Note Added: 0126006
2020-09-30 17:18 Bart Broersma Note Added: 0126007