Created attachment 53970 [details] VBS Script that opens LibreOffice main window, but shouldn't At some point in the past year or so, scripts that used VBS or Delphi (and presumably other languages) under Windows to run LibreOffice as a service began to see this problem: when the service manager starts, the new LibreOffice main window opens. The scripts no longer run "silently." This problem is described in detail here: http://user.services.openoffice.org/en/forum/viewtopic.php?f=45&t=43872&p=211375#p211375 A user in that thread provided a script that was designed to the problem, but it doesn't. The main LibreOffice window opens. He asked that a bug be reported, with a copy of his script. Here it is (and the same script is an attachment): --------------------------------------- Set OpenOffice = CreateObject("com.sun.star.ServiceManager") MsgBox "Service Manager is opened" Set StarDesktop = OpenOffice.createInstance("com.sun.star.frame.Desktop") StarDesktop.terminate OpenOffice = Null StarDesktop = Null MsgBox "Service Manager is closed" ----------------------------------------
I can confirm this behavior when using the COM interface. Not sure what older version prior to this still works. This is fairly serious issue as it will break any automation that runs when a user is not logged on.
Just a FYI, the problem does not exist on Open Office 3.3 I would prefer not to use the Oracle version, so lets get this fixed.
I can confirm this error also using CLI (C#). The users of our software were not happy with this effect.
I can confirm this bug from version 3.4.1 using VB6 I believe that the bug 43944 is a duplicate.
Same behavior with Version 3.5.2 best regards Heiko
*** This bug has been marked as a duplicate of bug 43944 ***