[Libreoffice-bugs] [Bug 123971] New: Row height incorrect in Calc on reload regression when row contains multiline text and cells with different font sizes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 9 21:19:46 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123971

            Bug ID: 123971
           Summary: Row height incorrect in Calc on reload regression when
                    row contains multiline text and cells with different
                    font sizes
           Product: LibreOffice
           Version: 6.2.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jason at binarycoder.net

Description:
I am seeing a regression involving the height of spreadsheet rows that contain
multiline text when different cells have different font sizes. I was using
6.0.4.2 and upgraded to 6.2.1.2. After doing this, my sheets are affected by a
problem illustrated by the following repro.

I have had to workaround this by avoiding multiple font sizes in the same row.
An alternative of overriding the heights after the text is entered is not
feasible for my use case.

Steps to Reproduce:
1. Open the attached spreadsheet. It is a new sheet created in 6.2.1.2. The
only interesting thing is that cells C1, C2, C3 are 12 pt font while all other
cells are the default font size. The fact that two cells are gray is immaterial
to the repro.
2. Put the 3 lines of text between these two bars on the clipboard in Plain
Text format:
=====
Test
123 Any Street
New York, NY 12345
=====
3. Repeat these steps for cells B1, B2, B4, B5. (LEAVE EMPTY cells B3, B6.)
    3a. Double-click the indicated cell.
    3b. Press Ctrl+V to paste.
    3c. Press Enter to complete the edit.
4. Press Ctrl+S to Save.
5. Click File > Reload (or close and re-open the file).

NOTE: If you do not leave B3, B6 empty but paste the text in all of B1 through
B6, the problem does not reproduce.

Actual Results:
Rows 1 and 2 are not the intended height. Rows 4 and 5 are correct.

Expected Results:
Rows 1, 2, 4, and 5 should be the same height, and there should be no vertical
truncation of the multiline text.
The heights should be the same at the time of save and when the file is
reloaded.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.2.1.2 (x64)
Build ID: 7bcb35dc3024a62dea0caee87020152d1ee96e71
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190309/2092e60f/attachment-0001.html>


More information about the Libreoffice-bugs mailing list