Bug 121514 - FILESAVE ODT Shape duplicated after export and import
Summary: FILESAVE ODT Shape duplicated after export and import
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-19 10:24 UTC by NISZ LibreOffice Team
Modified: 2018-11-29 10:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file saved by Writer (9.26 KB, application/binary)
2018-11-19 10:25 UTC, NISZ LibreOffice Team
Details
Example file from Writer – with moved and modified textbox (14.12 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-11-19 10:25 UTC, NISZ LibreOffice Team
Details
Example file from Writer – with duplicated shape (9.46 KB, application/binary)
2018-11-19 10:26 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document in Writer (77.21 KB, image/png)
2018-11-19 10:26 UTC, NISZ LibreOffice Team
Details
Screenshot of the exported and imported document in Writer (80.17 KB, image/png)
2018-11-19 10:27 UTC, NISZ LibreOffice Team
Details
Roudtripped file with current LO 6.2 (8.86 KB, application/vnd.oasis.opendocument.text)
2018-11-29 10:22 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2018-11-19 10:24:41 UTC
Description:
The shape was duplicated if contained a textbox after an export and import.

Steps to Reproduce:
1. Insert a shape.
2. Add a textbox to the shape. Write something in the textbox. (Shape-Textbox.odt, Shape-TextBox.PNG)
3. Save the document into .docx format. (Shape-Textbox.docx)
4. Reopen. (Shape-Textbox-Export.PNG)
5. Save the document into .odt format. (Shape-Textbox-Export-Import.odt)
6. Reopen. (Shape-Textbox-Export-Import.PNG)

Actual Results:
The shape is duplicated.

Expected Results:
Only the original shape with textbox remains in the document.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 NISZ LibreOffice Team 2018-11-19 10:25:22 UTC
Created attachment 146756 [details]
The original file saved by Writer
Comment 2 NISZ LibreOffice Team 2018-11-19 10:25:42 UTC
Created attachment 146757 [details]
Example file from Writer – with moved and modified textbox
Comment 3 NISZ LibreOffice Team 2018-11-19 10:26:04 UTC
Created attachment 146758 [details]
Example file from Writer – with duplicated shape
Comment 4 NISZ LibreOffice Team 2018-11-19 10:26:44 UTC
Created attachment 146759 [details]
Screenshot of the original document in Writer
Comment 5 NISZ LibreOffice Team 2018-11-19 10:27:00 UTC
Created attachment 146760 [details]
Screenshot of the exported and imported document in Writer
Comment 6 Chen-Ku 2018-11-29 09:19:41 UTC
no reproducible
版本:6.1.3.2 (x64)
組建 ID:86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU 執行緒:12; OS:Windows 10.0; UI 算繪:GL; 
語言地區:zh-TW (zh_TW); Calc: CL
Comment 7 Gabor Kelemen (allotropia) 2018-11-29 10:22:36 UTC
Created attachment 147133 [details]
Roudtripped file with current LO 6.2

I can't reproduce it with current master from bibisect-win32-6.2 repo either.

After a format roundtrip there is a single object.

Version: 6.2.0.0.beta1+
Build ID: da957eff1dc2e4b9e49a27799344978af03a6e24
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded