https://bugs.documentfoundation.org/show_bug.cgi?id=165535
--- Comment #6 from Peter M <[email protected]> --- I wasn't able to bibisect, as on each try I had to change the OS file associations and even then they were sometimes ignored by OneNote and the document was open in Excel. But I have additional info. I managed to retrieve the command line parameters of these two LibreOffice processes from the Task manager (in Details view, right-click a process, Create memory dump file, then open the dmp file in Visual Studio 2022). When I double-click an .ods file in Windows file explorer, all works correctly (it opens immediately) and the parameters are: Process Name: C:\Program Files\LibreOffice\program\soffice.exe -o "C:\Users\USER\OneDrive\Desktop\Test.ods" Process Name: C:\Program Files\LibreOffice\program\soffice.bin "-o" "C:\Users\USER\OneDrive\Desktop\Test.ods" "-env:OOO_CWD=2C:\\Users\\USER\\OneDrive\\Desktop" But when I double-click the file in OneNote, the parameters are: Process Name: C:\Program Files\LibreOffice\program\soffice.exe --nodefault --nologo -Embedding Process Name: C:\Program Files\LibreOffice\program\soffice.bin "--nodefault" "--nologo" "-Embedding" "-env:OOO_CWD=2C:\\WINDOWS\\system32" After 120sec, the file is open. It seems like this -Embedding parameter causes problems. According to https://help.libreoffice.org/latest/en-US/text/shared/guide/start_parameters.html, this parameter is COM+ related; Windows only. I created a testing .bat file with this content: "C:\Program Files\LibreOffice\program\soffice.exe" --nodefault --nologo -Embedding pause It starts these two processes and nothing happens, they run forever and I need to kill them. -- You are receiving this mail because: You are the assignee for the bug.
