https://bugs.documentfoundation.org/show_bug.cgi?id=123450

            Bug ID: 123450
           Summary: simple macro invoking google-chrome does not result in
                    google-chrome execution
           Product: LibreOffice
           Version: 6.1.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
The following macro does not work in Libreoffice Writer:

Sub Test_Chrome
    Dim strURL As String
    strURL = "https://ask.libreoffice.org";
    Shell( "/opt/google/chrome/google-chrome " + strURL )
End Sub

The result is either a crash in google-chrome or nothing at all.

Substituting "google-chrome"for "/opt/google/chrome/google-chrome" does not
change the behavior. For example, the following does not work either:

Sub Test_Chrome
    Dim strURL As String
    strURL = "https://ask.libreoffice.org";
    Shell( "google-chrome " + strURL )
End Sub

However the following works fine:

Sub Test_Firefox
    Dim strURL As String
    strURL = "https://ask.libreoffice.org";
    Shell( "firefox " + strURL )
End Sub

Steps to Reproduce:
1.Enter the macro shown in the description
2.Compile/run the macro

Actual Results:
Either a chrome crash or nothing at all

Expected Results:
Chrome should appear with the https://ask.libreoffice.org page.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Could not execute the test macros in safe mode.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to