Bug 136237 - LibreOffice Will Not Close
Summary: LibreOffice Will Not Close
Status: RESOLVED DUPLICATE of bug 135748
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-28 17:59 UTC by Simon White
Modified: 2020-09-18 23:46 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon White 2020-08-28 17:59:23 UTC
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
Comment 1 Serge Julien 2020-09-18 14:04:12 UTC
Maybe it's not a VFP specific issue: I reported a similar bug that doesn't involve any external program (https://bugs.documentfoundation.org/show_bug.cgi?id=135748)
Comment 2 Simon White 2020-09-18 15:21:03 UTC
I read the description of the bug you reported and that is exactly what I experienced.  LO was not locked up but it would not close.
Comment 3 Thomas Lendo QA 2020-09-18 23:46:17 UTC
Let's close this as duplicate.

*** This bug has been marked as a duplicate of bug 135748 ***