Wrap is off but text remains under shape

In Writer, I defined two columns with content evenly distributed and inserted a shape (in the original was an image and without transparency). Wrap is set to none (or off).

1- If “anchor to paragraph” is defined, the behavior is somewhat unpredictable when moving the shape.

So I tried a workaround, setting the shape anchor to page, and adjusting its position manually.

2- If anchor is set to page, moving the shape could leave the first line of the last paragraph partly or totally under the shape. Not with the other paragraphs. Adding more lines to the last paragraph or adding more paragraphs change the behavior. Why?

image description

Sample .odt file.

Version: 6.3.6.2 (x86)
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win;
Locale: es-MX (es_MX); UI-Language: en-US
Calc: threaded

EDIT:

A screen capture of the original file (wrong result).

A screen capture of the original file (intended result).

It would be useful if you describe what you actually want to achieve. Maybe you have not considered the menu items “Arrange”.

1- If “anchor to paragraph” is defined, the behavior is somewhat unpredictable when moving the shape.

This looks irrelevant and vague (actually I find the behaviour quite clear - it guesses the paragraph to anchor to out from the cursor position, so it’s predictable, but inconvenient). But the issue you describe here is, as said, unrelated - so let’s focus on the related part.

2- If anchor is set to page, moving the shape could leave the first line of the last paragraph partly or totally under the shape.

Looks like a bug. Please file it.

(By the way, using To Page anchoring is generally a bad idea, since you are anchoring to something created dynamically, and not to actual content… but that’s a different story, and you say that it’s a workaround anyway.)

I tried your file and, yes, sometimes the text hid behind the shape, sometimes it refused to hide for a dozen or more attempts. It shouldn’t do that. It settled down after anchor As Character

Version: 6.4.4.2 (x64) Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; Locale: en-NZ (en_NZ); UI-Language: en-GB
Calc: threaded

For myself, I normally convert shapes to png as shapes seem to be nomadic, especially after CTRL+Z anywhere in a document unrelated to the shape.

Anchoring shapes or frames To Page is wrong unless you are designing a document as a desktop publishing (DTP) one where the page is the primary object instead of the flow as is usual in Writer. Unless you are perfectly aware of the consequences, avoid this anchoring mode (the main consequence is the anchored objects remain anchored to this specific page whatever happens to the flow, even if it needs less pages to be rendered!).

I think one of the problem in this sample document is the fact that your “words” are longer than one line width (the xxx’s). When text wrap is computed, full words are moved. Here the words occupy so many lines that the algorithm is probably defeated. If I replace your xxx’s by “lorem ipsum”, everything works fine.

However, there may be a bug.

When I try to insert a frame anchored To Paragraph or To Character, or change from As Character to the previous ones in a paragraph of the 2-column section, the frame appears outside the section. Any attempt to reposition it fails in various ways.

I don’t remember any mention in the documentation about limitations in the use of frames (and other objects) in multi-column sections. If the page itself is multi-column, the frame is correctly positioned in the section!

Sometimes setting the page 2-column and reverting to 1-column fixes the issue, but the frame may inexplicably jump out of the section though the position properties still say it is within the paragraph area.

Further analysis by developers is necessary. Fill-in a a bug report with a sample file. To avoid issues (and waving out by developers), “lorem ipsum” the file (type lorem and immediately F3) and use empty frames anchored Tp Paragraph in the section.

Thanks to all.

Anchor as character helps here. Notwithstanding I will file a bug report.

@Hrbrgr,
Not an arrange issue. I want the image between the two last paragraphs. Added images to the question.

@mikekaganski,
While moving the image there are no cursor.

@EarnestAl,
Moving the shape using Alt+Arrow is the best way to repeat the problem. I used a shape in the sample file only for transparency purpose.

@ajlittoz,
I replaced real words with x’s, that is not the problem.