https://bugs.documentfoundation.org/show_bug.cgi?id=144611
--- Comment #16 from Ross Johnson <[email protected]> --- (In reply to Telesto from comment #9) > Created attachment 175511 [details] > Anchor lacking relative size to anchor > > (In reply to Dieter from comment #7) > > (In reply to Heiko Tietze from comment #6) > > > Image attributes remain intact and positioning follows. Don't see an > > > issue. > > > > My question to Design Team was, if the following behaviour is the expected > > and intendet one: If you move the anchor from one paragraph to another > > paragraph, LO keeps the distance between anchor and image. If you drag the > > image, you can reduce or expand the distance between anchor and image." > > LO keeps the distance between anchor & image is something what initially > expected, but appears to be more complicated :-( > > 1. Open the attached file > 2. Select the image > 3. Select the anchor (to character anchoring) > 3. Drag it up line by line (so vertically) I would expect the image to > consistently move up one. This isn't the case. > 4. Undo everything.. > 5. Select the image > 6. Drag the anchor for right to left (or visa versa). So horizontally. Image > doesn't adapt. Which can be seen as proper behaviour; But obviously doesn't > totally fit the distance between anchor & image will be kept the same model. > > Hover I somewhat have tendency to say 'vertical' position should be > relative. But not sure about how the layout code handles this.. > > To paragraph appears to take the distance (vertically) into account. > Horizontally it doesn't, but doesn't need too (as to paragraph by definition > anchored to the start of the paragraph. The "to character" behaviour would more correctly be described as "to paragraph containing character". The image position is relative to the start of the paragraph, not the character that the anchor is attached to. That's why you don't see it move when you move the anchor to a new position in the same paragraph (step 3). Try it: if you move the anchor to a new paragraph the image moves to a position relative to the start of the new paragraph that is the same as it was in the old paragraph, even if the new paragraph is much shorter. The Help page is incomplete for this but the guidebook is correct. It would be used, for example, where you have a symbol, word or phrase that the image relates to and you want it to follow the paragraph that the text is in, or relate to the new paragraph if you split or combine paragraphs. -- You are receiving this mail because: You are the assignee for the bug.
