Bug 118332 - Table height unnecessarily increases with multi-line text in merged cells.
Summary: Table height unnecessarily increases with multi-line text in merged cells.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Tables
  Show dependency treegraph
 
Reported: 2018-06-23 13:20 UTC by Explorer09
Modified: 2023-06-26 08:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Flat ODF presentation showing affects of STR on the height of the last row adjacent to the merged cell (100.91 KB, application/vnd.oasis.opendocument.presentation)
2018-06-23 15:02 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Explorer09 2018-06-23 13:20:38 UTC
Description:
Happen on Impress only. When I make a table with a merged cell (spanning multiple rows) and multi-line text in it, the minimum height on one of the rows will increase unnecessarily. And that wastes space.

Steps to Reproduce:
1. Open Impress with a blank slide.
2. Create a 3 x 3 table.
3. Merge three cells in the third column altogether.
4. Fill the cells with some text, like this:

    +----+----+-----------------+
    | A1 | B1 | Column C with   |
    +----+----+ multiple lines  |
    | A2 | B2 | of text.(break) |
    +----+----+ Hello world.    |
    | A3 | B3 |                 |
    +----+----+-----------------+

5. Try to shrink the table height by dragging the resize knobs.


Actual Results:
The example will show row 3 with increased minimum table height, and impossible to size it down (unless the multi-line content in the merged cell gets removed).

Expected Results:
I should be able to get optimal minimum table height. Compare the result with Writer's to see what I mean.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 V Stuart Foote 2018-06-23 15:02:40 UTC
Created attachment 143057 [details]
Flat ODF presentation showing affects of STR on the height of the last row adjacent to the merged cell

Confirmed with STR, sample document attached.

on Windows 10 Home 64-bit en-US with
Version: 6.2.0.0.alpha0+ (x64)
Build ID: 2c85607101e2e04e870e3b87362f39f9a9148e6c
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-06-16_00:12:37
Locale: en-US (en_US); Calc: CL

Resize of width (affecting the merged C1 cell) increases the spacing to content of the last row (A3, B3). Would expect the row 3--A3, B3 not to pick up the spacing to content of the merged cell.
Comment 2 Xisco Faulí 2018-06-25 09:55:09 UTC
Also reproducible in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.10; Render: default; 

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 3 QA Administrators 2019-06-26 02:46:52 UTC Comment hidden (obsolete)
Comment 4 Explorer09 2019-06-26 08:41:50 UTC
Still reproducible in Impress 6.2.4.2 (Windows x64).
Comment 5 QA Administrators 2021-06-26 03:28:35 UTC Comment hidden (obsolete)
Comment 6 Sophie Sipasseuth 2023-06-26 08:50:34 UTC
Repro in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9fc0b2b9b96d87eb642a3b29e9dcb5d6273265eb
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded