Bug 118704 - Writer: Paragraph's height doesn't adjust itself when embedded Calc table's row number decreases
Summary: Writer: Paragraph's height doesn't adjust itself when embedded Calc table's r...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: low minor
Assignee: Not Assigned
Depends on:
Blocks: Paragraph Calc-Embedded
  Show dependency treegraph
Reported: 2018-07-11 16:41 UTC by ricky.tigg
Modified: 2018-10-03 20:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Illustration of the issue (21.08 KB, application/vnd.oasis.opendocument.text)
2018-07-11 16:46 UTC, ricky.tigg

Note You need to log in before you can comment on or make changes to this bug.
Description ricky.tigg 2018-07-11 16:41:46 UTC
Hight of an original paragraph associated to an embedded Calc table is kept despite the table itself has been resized to smaller according to the y-axis.

Steps to Reproduce:
1. Copy a 2 x 2 – lines x columns – cells-area with application defaults from a native ODS document (LIbreoffice Calc);
2. Paste it into a native ODT document then anchor this object as character;
3. Activate this embedded Calc table by double-left-clicking the object, then resize the table to get visible a 1 x 2-cells-area.

Actual Results:
As illustrated in attachment, the hight of the paragraph at step 3. remains the one of the original table's hight at step 1.

Expected Results:
Hight to adjusts itself correctly.

Reproducible: Always

User Profile Reset: Yes

Additional Info:
OS: Fedora

Build ID:
CPU threads: 2; OS: Linux 4.17; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); Calc: group
Comment 1 ricky.tigg 2018-07-11 16:46:26 UTC
Created attachment 143482 [details]
Illustration of the issue
Comment 2 ricky.tigg 2018-07-16 13:32:43 UTC
To be specific, according to the context, I should have mentioned the character's height as the object of the report. Though paragraph as context remains valid.
Comment 3 Timur 2018-07-16 15:15:02 UTC
Repro with 6.0 and 6.2+ but only for decreasing embedded table height, increasing works.