<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 - LibreOffice Will Not Close"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136237">136237</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LibreOffice Will Not Close
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.0.3 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (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>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>simonwhite@dciphercomputing.com
</td>
</tr></table>
<p>
<div>
<pre>I often use Libre Office with Visual FoxPro 9 via automation on Windows Server
2019 Std. When I open Libre Office Writer from VFP using code as shown below.
I am unable to close Libre Office by clicking the X in the top right window or
by selecting Quit from the file menu. I can close the document but not Libre
Office. However, the exact same code is used with Libre Office 6.4 and works
just fine as I can close the application.
oMergeSrvMgr=CreateObject("com.sun.star.ServiceManager")
oMerge=.oMergeSrvMgr.createInstance("com.sun.star.frame.Desktop")
laArgs(1)=oMergeSrvMgr.Bridge_GetStruct("com.sun.star.beans.PropertyValue")
laArgs(1).Name="ReadOnly"
laArgs(1).Value=.N.
laArgs(2)=oMergeSrvMgr.Bridge_GetStruct("com.sun.star.beans.PropertyValue")
laArgs(2).Name="Hidden"
laArgs(2).Value=.T.
ComArray(oMerge,10) && convert VFP arrays to COM compatible array
oMergeDoc=oMerge.loadComponentFromURL(ConvertToURL(tcFile),"_blank",0,@laArgs)
oMergeDoc.getCurrentController().getFrame().getContainerWindow().setVisible(tlVisible)
Thanks,
Simon</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>