Bug 149235 - Wrong vertical image position for proportional line spacing for images anchored "to character"
Summary: Wrong vertical image position for proportional line spacing for images anchor...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2022-05-22 19:44 UTC by Regina Henschel
Modified: 2023-05-13 11:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Examples and descriptions of the vertical position problem (60.54 KB, application/vnd.oasis.opendocument.text)
2022-05-22 19:44 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2022-05-22 19:44:30 UTC
Created attachment 180302 [details]
Examples and descriptions of the vertical position problem

Open attached document. It contains examples and explanations of the problem.

In short: An image anchored "to character" and vertical positioned with "from bottom" to "Line of Text" uses a different reference line for "Line of Text" when the line spacing is "Proportional" than in cases "single", "fixed" and "leading".

I expect, that the reference line is always the same.

In fixing/changing the behavior you need to consider, that currently the setting "Line of Text" produces invalid ODF, see bug 149234.
Comment 1 Dieter 2022-06-02 19:38:29 UTC
I confirm it with

Version: 7.3.4.1 (x64) / LibreOffice Community
Build ID: 13668373362b52f6e3ebcaaecb031bd59a3ac66b
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Steps to reproduce
1. Open attachment 180302 [details]
2. Place cursor in line with first highlighted "p"
3. Change line spacing from "Single" to "Proportional" (Value is 100%)

Actual result
Image moves down

Expected result
Image should keep it's position