Bug 142529 - Minimal row height not working for tables in Impress
Summary: Minimal row height not working for tables in Impress
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Toolbars ImpressDraw-Tables
  Show dependency treegraph
 
Reported: 2021-05-27 20:07 UTC by Rafael Lima
Modified: 2025-03-06 14:38 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample File (12.91 KB, application/vnd.oasis.opendocument.presentation)
2021-05-27 20:07 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2021-05-27 20:07:50 UTC
Created attachment 172395 [details]
Sample File

In Impress, the Optimize > Minimal Row Height does not work even for very simple tables. Instead of adjusting row height based on table contents, I am getting no practical result from this functionality.

Steps to reproduce (see attached file)
1) Insert a 4 x 2 table into the slide
2) Fill it in with contents
3) Center contents and align them vertically at the middle
4) Select the whole table
5) Right click: Size > Minimal Row Height
6) Note that nothing will happen

This should compress the table based on the text that it contains, but nothing happens.

It should be noted that the "Optimal Row Height" also behaves weirdly. Consider the second slide of the attached file. If you apply "Optimal Row Height" to it, it will increase the height of all rows.

System Information
Version: 7.1.3.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.1.3-0ubuntu0.21.04.1
Calc: threaded
Comment 1 Rafael Lima 2021-05-27 20:12:50 UTC
This commit may be related to this issue:

https://gerrit.libreoffice.org/c/core/+/105422
Comment 2 raal 2021-05-29 16:16:16 UTC
Confirm with Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 42d2b2d55a27f11153ea1713737d93540a19211d
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

The command shrink only cells without text.
Comment 3 Rafael Lima 2022-07-01 00:07:07 UTC
Still repro in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 61f5c991a97de8990badfed6ef840941b5aa8c7f
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL
Comment 4 QA Administrators 2025-03-06 03:15:32 UTC
Dear Rafael Lima,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug
Comment 5 Eyal Rozenberg 2025-03-06 14:38:14 UTC
(In reply to Rafael Lima from comment #0)
> Steps to reproduce (see attached file)
> 4) Select the whole table
> 5) Right click: Size > Minimal Row Height

Can't reproduce with:

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: threaded

in both tables in the attached presentation, following instructions (3) through (5) results in the row hights being reduced, to fit the text quite snugly.

Can anyone else reproduce this?