https://bugs.documentfoundation.org/show_bug.cgi?id=147503
--- Comment #8 from Julien Nabet <serval2...@yahoo.fr> --- Code pointer: 269 OUString aStrFlags('S'); 270 if (xExecuteInfo->bRbtEditLater) 271 { 272 aStrFlags += "H"; 273 } 274 SfxStringItem aFlags (SID_OPTIONS, aStrFlags); 275 276 // open url 277 const SfxPoolItem* pReturn = xExecuteInfo->pDispatcher->ExecuteList( 278 SID_OPENDOC, SfxCallMode::SYNCHRON, 279 { &aName, &aFlags, &aFrame, &aReferer }); (see https://opengrok.libreoffice.org/xref/core/cui/source/dialogs/hldocntp.cxx?r=61346723#269) If I remove lines 269-> 273 and use SfxStringItem aFlags (SID_OPTIONS, "S"); it works as we may expect since it corresponds to the "Edit now" case. I also try to use SfxCallMode::ASYNCHRON when we're in the "Edit later" case but I got: warn:legacy.tools:31063:31063:sfx2/source/appl/appopen.cxx:1019: Hidden load process must be done synchronously! and it fails later in the same way. With "Edit now", I also noticed this log: "is there a frame int 0x5593c7db2280" It seems quite a mess here :-(. -- You are receiving this mail because: You are the assignee for the bug.