https://bugs.freedesktop.org/show_bug.cgi?id=43378

             Bug #: 43378
           Summary: LibreOffice main window opens when service started via
                    VBS; breaks VBS scripts
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.4.4 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 53970
  --> https://bugs.freedesktop.org/attachment.cgi?id=53970
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"
----------------------------------------

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to