Bug 121513 - FILESAVE DOCX TextBox in Shape is modified after export
Summary: FILESAVE DOCX TextBox in Shape is modified after export
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2018-11-19 10:11 UTC by NISZ LibreOffice Team
Modified: 2024-09-18 03:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file saved by Writer (9.26 KB, application/vnd.oasis.opendocument.text)
2018-11-19 10:12 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:12 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document in Writer (77.21 KB, image/png)
2018-11-19 10:13 UTC, NISZ LibreOffice Team
Details
Screenshot of the exported document in Word (57.64 KB, image/png)
2018-11-19 10:13 UTC, NISZ LibreOffice Team
Details
The example file opened in Writer and its exported version in Word (79.21 KB, image/png)
2020-09-09 14:46 UTC, NISZ LibreOffice Team
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:11:36 UTC
Description:
The textbox in the shape fills the area of the shape after saving into .docx format.

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. Open the .docx file with MS Word. (Shape-Textbox-Export.PNG)

Actual Results:
The textbox in the shape grows to the borders of the shape.

Expected Results:
The size and the position of the textbox does not change.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 NISZ LibreOffice Team 2018-11-19 10:12:16 UTC
Created attachment 146752 [details]
The original file saved by Writer
Comment 2 NISZ LibreOffice Team 2018-11-19 10:12:42 UTC
Created attachment 146753 [details]
Example file from Writer – with moved and modified textbox
Comment 3 NISZ LibreOffice Team 2018-11-19 10:13:09 UTC
Created attachment 146754 [details]
Screenshot of the original document in Writer
Comment 4 NISZ LibreOffice Team 2018-11-19 10:13:29 UTC
Created attachment 146755 [details]
Screenshot of the exported document in Word
Comment 5 Durgapriyanka 2018-12-06 17:53:03 UTC
Thank you for reporting the bug. I can confirm that the bug is present in

Version: 6.1.3.2
Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU threads: 2; OS: Windows 6.1; UI render: default; 
Locale: en-US (en_US); Calc: group threaded
Comment 6 Xisco Faulí 2018-12-10 17:42:06 UTC
Also reproduced in

Version: 5.4.0.0.alpha1+
Build ID: 9feb7f7039a3b59974cbf266922177e961a52dd1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

in previous versions of LibreOffice, even the textbox inside the shape wasn't imported...
Comment 7 NISZ LibreOffice Team 2020-09-09 14:46:42 UTC
Created attachment 165325 [details]
The example file opened in Writer and its exported version in Word

The text box dialog shows 0 cm margin in all directions for the default textbox in the shape, which is not true. 
But these values are then correctly exported to docx.
Comment 8 NISZ LibreOffice Team 2020-09-16 13:12:37 UTC
After looking into this a bit more, it looks like the dialog always sets the shapes text properties.

This should be different if a textframe is added to the shape with context menu - Add Text Box. This textframe instantly adds about 5 pt margin in all directions and this is not reflected in the dialog.
Also any changes made in the dialog do not apply to the textframe, but the user would probably want that.

If a docx file is opened the same happens: imported textframe properties are displayed in the dialog (see the example file in bug #135569), but cannot be changed since they are applied to the shape and not its textframe.
Comment 9 QA Administrators 2022-09-17 03:47:45 UTC Comment hidden (obsolete, spam)
Comment 10 QA Administrators 2024-09-18 03:17:10 UTC
Dear NISZ LibreOffice Team,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug