Download it now!
Bug 125336 - Paragraph indent used twice when positioning frame
Summary: Paragraph indent used twice when positioning frame
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:
 
Reported: 2019-05-17 10:07 UTC by ajlittoz
Modified: 2019-05-22 17:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
File with various anchor parameters combinations (21.19 KB, application/vnd.oasis.opendocument.text)
2019-05-17 10:07 UTC, ajlittoz
Details
How it looks in LibreOffice 3.3 and LibreOffice 6.3 Master (40.24 KB, application/pdf)
2019-05-22 16:03 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ajlittoz 2019-05-17 10:07:18 UTC
Created attachment 151482 [details]
File with various anchor parameters combinations

Paragraph has left indent.
Image inserted with anchor "To Paragraph", horizontal position *Left* *Paragraph text area*

Expected result:
Image aligned on paragraph left indent with only wrapping "guard" spacing around it

Effective result:
Image aligned on paragraph left indent (OK) but indent is added to right wrap spacing causing an unwanted additional space to be added to right of image. The resulting "indent" along the image is twice paragraph indent + wrap space + image width.

I would expect paragraph indent to be used only once as it is already taken into account to compute limits of paragraph text area.

Note: in addition, it seems Writer has some trouble in this circumstance to evenly vertically center the frame (see attachement).

This unexpected behaviour is demonstrated in case C of the attachment.
Comment 1 Harald Berger 2019-05-17 11:25:42 UTC
I can confirm this with
Windows 10 Home; Version 1809;
Version: 6.2.3.2 (x64)
Build-ID: aecc05fe267cc68dde00352a451aa867b3b546ac
CPU-Threads: 8; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded
Comment 2 Xisco Faulí 2019-05-22 16:03:47 UTC
Created attachment 151598 [details]
How it looks in LibreOffice 3.3 and LibreOffice 6.3 Master
Comment 3 Xisco Faulí 2019-05-22 16:04:15 UTC
@Regina, could you please double check if this is indeed an issue ?
Comment 4 Regina Henschel 2019-05-22 17:05:16 UTC
For me, it is a bug. It is there at least since OOo1.1.5.