Bug 62867 - Word wrap does not work properly when image is left of the left margin.
Summary: Word wrap does not work properly when image is left of the left margin.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2013-03-28 14:23 UTC by Michael
Modified: 2023-03-30 23:56 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example of an image, inserted to the left of 2 inch margin, showing margin applied to the right of the image. (68.49 KB, image/png)
2013-03-28 14:23 UTC, Michael
Details
Example of an image, inserted to the left of 2 inch margin, showing margin applied to the right of the image. (68.49 KB, image/png)
2013-03-28 15:38 UTC, Michael
Details
Picture of right margin - OK (73.86 KB, image/png)
2013-03-28 15:40 UTC, Michael
Details
Actual Document attached. (24.62 KB, application/vnd.oasis.opendocument.text)
2013-03-28 15:49 UTC, Michael
Details
tdf116486RT.docx: make sure this says TEXT well below the frame (14.03 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-03-30 23:56 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2013-03-28 14:23:27 UTC
Created attachment 77155 [details]
Example of an image, inserted to the left of 2 inch margin, showing margin applied to the right of the image.

I have my margin set at 2 inches.

If I place an image at 2 inches (or more) the word wrap works as expected.

If I place an image a 1.5 inches (or less than 2 inches) the 2 inch margin is applied to the right and I have a 2 inch gap before the text starts.  I expected the text to wrapping to work as it does when the picture is moved past the left margin. (See picture attached of image at 1.5" and indent of 2").

Is there any way around this?
Comment 1 Michael 2013-03-28 15:38:33 UTC
Created attachment 77159 [details]
Example of an image, inserted to the left of 2 inch margin, showing margin applied to the right of the image.
Comment 2 Michael 2013-03-28 15:40:05 UTC
Created attachment 77160 [details]
Picture of right margin - OK
Comment 3 Joel Madero 2013-03-28 15:43:43 UTC
Please attach the actual document so that we can look at the xml data. 

Marking as NEEDINFO - once you attach the document mark as UNCONFIRMED and we will take a look at it.

As for a workaround, I would recommend going to ask site or mailing list as those are more appropriate places to ask about workarounds.

Thanks!
Comment 4 Michael 2013-03-28 15:49:42 UTC
Created attachment 77162 [details]
Actual Document attached.
Comment 5 Michael 2013-03-28 15:56:05 UTC
Actual Document attached - as requested!  

Image is to the right of the indentation at this time (Text looks good).

Move the image to the left of the margin, and the margin jumps to the right side of the image (as shown in photo attached).

Thanks 

- I will check with the mailing list for a work around - Thanks for that too.

Status changed to unconfirmed.
Comment 6 Steve Edmonds 2013-04-10 21:23:56 UTC
I can verify this bug in LO 3.6
Steve
Comment 7 flamingdescent 2013-06-25 02:48:33 UTC
I can confirm this bug with LibreOffice 4.0.2.2 on Ubuntu 13.04, so I changed the status to NEW. I'm guessing having the paragraph margin move to the right of the picture looks unprofessional, so I kept this bug's importance as "medium normal". Thanks for reporting this bug!
Comment 8 QA Administrators 2015-04-19 03:20:27 UTC Comment hidden (obsolete)
Comment 9 flamingdescent 2015-04-19 12:22:33 UTC
This bug is still present in LibreOffice 4.4.2.2 on Ubuntu 14.10. There are no changes in bug behavior.
Comment 10 QA Administrators 2016-09-20 09:32:28 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2020-10-24 05:12:28 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2022-10-25 03:33:13 UTC Comment hidden (obsolete, spam)
Comment 13 Justin L 2023-03-27 20:59:08 UTC
repro 7.6+
Comment 14 Justin L 2023-03-28 16:17:51 UTC
The same thing happens in OOo 3.3 with Anne.odt.
Comment 15 Justin L 2023-03-29 21:46:15 UTC
I attempted to solve it with https://gerrit.libreoffice.org/c/core/+/149665, but failed.
Comment 16 Justin L 2023-03-30 23:56:35 UTC
Created attachment 186343 [details]
tdf116486RT.docx: make sure this says TEXT well below the frame

This sw/qa/extras/layout/layout.cxx unit test has prevented lots of bad fixes for me for this bug. Make sure it works as before.