Bug 147589 - When open/create a Document with OLE-Link File, get message Document in use
Summary: When open/create a Document with OLE-Link File, get message Document in use
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.1.2 release
Hardware: All All
: medium normal
Assignee: Juergen Funk (CIB)
URL:
Whiteboard: target:7.4.0
Keywords:
: 145327 145613 (view as bug list)
Depends on:
Blocks: OLE-Objects Calc-Embedded
  Show dependency treegraph
 
Reported: 2022-02-22 10:19 UTC by Juergen Funk (CIB)
Modified: 2024-03-05 15:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Document in Use Dialog (37.30 KB, image/jpeg)
2022-02-22 10:19 UTC, Juergen Funk (CIB)
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***