Bug 147589

Summary: When open/create a Document with OLE-Link File, get message Document in use
Product: LibreOffice Reporter: Juergen Funk (CIB) <juergen.funk_ml>
Component: WriterAssignee: Juergen Funk (CIB) <juergen.funk_ml>
Status: RESOLVED FIXED    
Severity: normal CC: juergen.maehnss, LibreOffice, xiscofauli
Priority: medium    
Version: 7.2.1.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=147590
Whiteboard: target:7.4.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107810, 120276    
Attachments: Document in Use Dialog

Description Juergen Funk (CIB) 2022-02-22 10:19:50 UTC
Created attachment 178456 [details]
Document in Use Dialog

Steps:
Create new Calc files, e.g. 3x3, insert a few (distinctive) numbers (or letters), save and close.
Create new Writer file, insert a few blank lines
Link the Calc file as OLE object into the Writer document via:
    + Menu->Insert->Object->OLE-Object...
    + "Create from file"
    + select the newly created Calc file via ->Search
    + Tick with "Link to file".
    + OK

After OK the dialog "Document in Use" is displayed, see attached picture
Comment 1 Juergen Funk (CIB) 2022-02-22 10:21:43 UTC
I have found, the solution comes asap.
Comment 2 Juergen Funk (CIB) 2022-02-23 04:57:50 UTC
Here the patch https://gerrit.libreoffice.org/c/core/+/130408
Comment 3 Commit Notification 2022-03-21 09:25:54 UTC
Juergen Funk committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0498c522724bbfd789261cb1562b3bfe1a81bb3e

tdf#147589 In document with OLE link, don't show temp-file is in use

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Rainer Bielefeld Retired 2022-05-13 13:42:25 UTC
*** Bug 145327 has been marked as a duplicate of this bug. ***
Comment 5 Rainer Bielefeld Retired 2022-05-13 13:43:06 UTC
Version due to Bug 145327
Comment 6 Stéphane Guillou (stragu) 2024-03-05 15:01:40 UTC
*** Bug 145613 has been marked as a duplicate of this bug. ***