<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - simple macro invoking google-chrome does not result in google-chrome execution"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=123450">123450</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>simple macro invoking google-chrome does not result in google-chrome execution
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.1.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>roy.kimbrell@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
The following macro does not work in Libreoffice Writer:
Sub Test_Chrome
Dim strURL As String
strURL = "<a href="https://ask.libreoffice.org">https://ask.libreoffice.org</a>"
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 = "<a href="https://ask.libreoffice.org">https://ask.libreoffice.org</a>"
Shell( "google-chrome " + strURL )
End Sub
However the following works fine:
Sub Test_Firefox
Dim strURL As String
strURL = "<a href="https://ask.libreoffice.org">https://ask.libreoffice.org</a>"
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 <a href="https://ask.libreoffice.org">https://ask.libreoffice.org</a> page.
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
Could not execute the test macros in safe mode.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>