Created attachment 142245 [details] Sample file. 1. Open the attached file that contains a simple formula. 2. Use "Save as" (Ctrl+Shift+s) the file as odt document. Actual result: there is a temporary file ( something like lu5420hvp2hf.tmp ) left in the same directory. Expected result: Writer should remove temporary files as soon as the document saved. Note: if user just modifies the content and use "Save" ( Ctrl + s ) to save the file instead of using "Save as" ( Ctrl + Shift + s), there is no temporary file left.
Verified with: Version: 6.1.0.0.alpha1+ (x64) Build ID: 0e8d2cb6b7af441642ffe3e94cfccb526fb12b49 CPU threads: 8; OS: Windows 10.0; UI render: default; Locale: zh-TW (zh_TW); Calc: group Open up a new issue per comment#11 of tdf#117225.
I guess we can close this as a dupe of bug 117225 *** This bug has been marked as a duplicate of bug 117225 ***
Regression introduced by: author Miklos Vajna <vmiklos@collabora.co.uk> 2018-01-17 18:11:41 +0100 committer Julien Nabet <serval2412@yahoo.fr> 2018-01-18 07:12:42 +0100 commit 27938e1bbd5f3405c47b9933be7489eeb03920f3 (patch) tree 792f4df230b6364ef8eb578e647454648e2afd62 parent c915fdbfc77ac78d543bc097cd809edd7e6da8cb (diff) sfx2 store: create temp files next to local files (storage case) This is similar to commit 5259ab8104cfba60c40748ed0cd59d93df038c5b (sfx2 store: create temp files next to local files, 2018-01-08), except there only the stream case was handled (e.g. sw HTML export), while this is the storage case (e.g. ODT export). Bisected with: bibisect-win32-6.1 Adding Cc: to Miklos Vajna
Can reproduce on Windows only, will take a look.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b8fd1a814ffc80f2802c5b980febabcffe9606cb tdf#117757 sfx2 save-as: fix leftover temporary files for embedded objects It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 117758 has been marked as a duplicate of this bug. ***
*** Bug 117759 has been marked as a duplicate of this bug. ***
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-6-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3d4e41009c42b26d318af20ac1e2da301212c1cf&h=libreoffice-6-1 tdf#117757 sfx2 save-as: fix leftover temporary files for embedded objects It will be available in 6.1.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.