[Libreoffice-bugs] [Bug 123450] New: simple macro invoking google-chrome does not result in google-chrome execution

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 13 20:24:18 UTC 2019


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: roy.kimbrell at gmail.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190213/9b9e1035/attachment.html>


More information about the Libreoffice-bugs mailing list