[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986418: libreoffice-impress: Impress cannot reduce table row size



Package: libreoffice-impress
Version: 1:7.0.4-3
Severity: important
Control: forwarded -1 https://bugs.documentfoundation.org/show_bug.cgi?id=139511
Control: tags -1 + patch bullseye

LibreOffice (7.0.4) cannot reduce the size of table rows in Impress.

Apparently this is a known bug, fixed upstream and fixed in 7.1.1,
https://bugs.documentfoundation.org/show_bug.cgi?id=139511

It's quite a serious bug in terms of usability of this part of the
package.  Can the patch be applied to 7.0.4 in unstable targetted for
inclusion in the bullseye stable release?

The patch applied to 7.1.1 is
https://git.libreoffice.org/core/+/edc5ea345446fc0ca484a9c854d65dc5c1a39793%5E%21

It is trivial:

diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx
index 80d0a52..2d8de0c 100644
--- a/svx/source/table/tablelayouter.cxx
+++ b/svx/source/table/tablelayouter.cxx

@@ -789,7 +789,7 @@ void TableLayouter::LayoutTableHeight( tools::Rectangle& rArea, bool bFit )
                    //     Case 2: * Row has "Height" property
                    //             * Calculated minimum height is bigger than Height property value and
                    //             * Row has not any text of any cell in edit mode in the row (means completely empty)
-                    if ((nMinHeight < nRowPropHeight && nRowPropHeight > 0 ) ||
+                    if ((nMinHeight < nRowPropHeight && nRowPropHeight > 0 && (bRowHasText || bRowHasCellInEditMode)) ||
                        (nMinHeight > nRowPropHeight && nRowPropHeight > 0 && (!bRowHasText && !bRowHasCellInEditMode)))
                    {
                        nMinHeight = nRowPropHeight;




-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-5-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libreoffice-impress depends on:
ii  libc6                    2.31-11
ii  libepoxy0                1.5.5-1
ii  libetonyek-0.1-1         0.1.9-4
ii  libgcc-s1                10.2.1-6
ii  libmwaw-0.3-3            0.3.17-1
ii  libodfgen-0.1-1          0.1.8-2
ii  libreoffice-common       1:7.0.4-3
ii  libreoffice-core         1:7.0.4-3
ii  libreoffice-draw         1:7.0.4-3
ii  librevenge-0.0-0         0.0.4-6+b1
ii  libstaroffice-0.0-0      0.0.7-1
ii  libstdc++6               10.2.1-6
ii  libuno-cppu3             1:7.0.4-3
ii  libuno-cppuhelpergcc3-3  1:7.0.4-3
ii  libuno-sal3              1:7.0.4-3
ii  libuno-salhelpergcc3-3   1:7.0.4-3
ii  ucf                      3.0043
ii  uno-libs-private         1:7.0.4-3

libreoffice-impress recommends no packages.

Versions of packages libreoffice-impress suggests:
ii  bluez  5.55-3

Versions of packages libreoffice-core depends on:
ii  fontconfig                      2.13.1-4.2
ii  fonts-opensymbol                2:102.11+LibO7.0.4-3
ii  libboost-locale1.74.0           1.74.0-9
ii  libc6                           2.31-11
ii  libcairo2                       1.16.0-5
ii  libclucene-contribs1v5          2.3.3.4+dfsg-1+b1
ii  libclucene-core1v5              2.3.3.4+dfsg-1+b1
ii  libcmis-0.5-5v5                 0.5.2-3
ii  libcups2                        2.3.3op2-3
ii  libcurl3-gnutls                 7.74.0-1.1
ii  libdbus-1-3                     1.12.20-2
ii  libdconf1                       0.38.0-2
ii  libeot0                         0.01-5+b1
ii  libepoxy0                       1.5.5-1
ii  libexpat1                       2.2.10-2
ii  libexttextcat-2.0-0             3.4.5-1
ii  libfontconfig1                  2.13.1-4.2
ii  libfreetype6                    2.10.4+dfsg-1
ii  libgcc-s1                       10.2.1-6
ii  libglib2.0-0                    2.66.8-1
ii  libgpgmepp6                     1.14.0-1+b2
ii  libgraphite2-3                  1.3.14-1
ii  libgstreamer-plugins-base1.0-0  1.18.3-1
ii  libgstreamer1.0-0               1.18.3-1
ii  libharfbuzz-icu0                2.7.4-1
ii  libharfbuzz0b                   2.7.4-1
ii  libhunspell-1.7-0               1.7.0-3
ii  libhyphen0                      2.8.8-7
ii  libice6                         2:1.0.10-1
ii  libicu67                        67.1-6
ii  libjpeg62-turbo                 1:2.0.6-4
ii  liblcms2-2                      2.12~rc1-2
ii  libldap-2.4-2                   2.4.57+dfsg-2
ii  libmythes-1.2-0                 2:1.2.4-3+b1
ii  libneon27-gnutls                0.31.2-1
ii  libnspr4                        2:4.29-1
ii  libnss3                         2:3.63-1
ii  libnumbertext-1.0-0             1.0.7-1
ii  liborcus-0.16-0                 0.16.1-3+b2
ii  liborcus-parser-0.16-0          0.16.1-3+b2
ii  libpng16-16                     1.6.37-3
ii  libpoppler102                   20.09.0-3.1
ii  libqrcodegencpp1                1.6.0-1
ii  libraptor2-0                    2.0.14-1.2
ii  librdf0                         1.0.17-1.1+b1
ii  libreoffice-common              1:7.0.4-3
ii  librevenge-0.0-0                0.0.4-6+b1
ii  libsm6                          2:1.2.3-1
ii  libstdc++6                      10.2.1-6
ii  libuno-cppu3                    1:7.0.4-3
ii  libuno-cppuhelpergcc3-3         1:7.0.4-3
ii  libuno-sal3                     1:7.0.4-3
ii  libuno-salhelpergcc3-3          1:7.0.4-3
ii  libx11-6                        2:1.7.0-2
ii  libx11-xcb1                     2:1.7.0-2
ii  libxext6                        2:1.3.3-1.1
ii  libxinerama1                    2:1.1.4-2
ii  libxml2                         2.9.10+dfsg-6.3+b1
ii  libxmlsec1                      1.2.31-1
ii  libxmlsec1-nss                  1.2.31-1
ii  libxrandr2                      2:1.5.1-1
ii  libxrender1                     1:0.9.10-1
ii  libxslt1.1                      1.1.34-4
ii  uno-libs-private                1:7.0.4-3
ii  ure                             1:7.0.4-3
ii  zlib1g                          1:1.2.11.dfsg-2

Versions of packages libreoffice-core recommends:
ii  gstreamer1.0-libav         1.18.3-1
ii  gstreamer1.0-plugins-bad   1.18.3-1+b1
ii  gstreamer1.0-plugins-base  1.18.3-1
ii  gstreamer1.0-plugins-good  1.18.3-1
ii  gstreamer1.0-plugins-ugly  1.18.3-1
ii  libpaper-utils             1.1.28+b1

Versions of packages libreoffice-draw depends on:
ii  libavahi-client3         0.8-5
ii  libavahi-common3         0.8-5
ii  libc6                    2.31-11
ii  libcdr-0.1-1             0.1.6-2
ii  libdbus-1-3              1.12.20-2
ii  libfreehand-0.1-1        0.1.2-3
ii  libgcc-s1                10.2.1-6
ii  libglib2.0-0             2.66.8-1
ii  libmspub-0.1-1           0.1.4-3+b1
ii  libmwaw-0.3-3            0.3.17-1
ii  libodfgen-0.1-1          0.1.8-2
ii  libpagemaker-0.0-0       0.0.4-1
ii  libqxp-0.0-0             0.0.2-1+b1
ii  libreoffice-common       1:7.0.4-3
ii  libreoffice-core         1:7.0.4-3
ii  librevenge-0.0-0         0.0.4-6+b1
ii  libstaroffice-0.0-0      0.0.7-1
ii  libstdc++6               10.2.1-6
ii  libuno-cppu3             1:7.0.4-3
ii  libuno-cppuhelpergcc3-3  1:7.0.4-3
ii  libuno-sal3              1:7.0.4-3
ii  libuno-salhelpergcc3-3   1:7.0.4-3
ii  libvisio-0.1-1           0.1.7-1+b1
ii  libwpg-0.3-3             0.3.3-1
ii  libxml2                  2.9.10+dfsg-6.3+b1
ii  libzmf-0.0-0             0.0.2-1+b3
ii  ucf                      3.0043
ii  uno-libs-private         1:7.0.4-3

-- no debconf information


Reply to: