https://bugs.documentfoundation.org/show_bug.cgi?id=99304
Bug ID: 99304
Summary: Multi-line text in cell causes row to collapse
slightly, cutting off text
Product: LibreOffice
Version: 5.2.0.0.alpha0+ Master
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Created attachment 124343
--> https://bugs.documentfoundation.org/attachment.cgi?id=124343&action=edit
test1.ods
If a cell contains multiple lines of tex and any edit is performed, the row
height shrinks slightly. This causes the text to be rendered closer to the
upper border, and in some cases the text is truncated by the border.
My guess: A rounding bug somehwere, or the row-height is being recomputed
using separate/duplicate code different from what is used by the
"set optimal height" operation.
The row-height change is permanent (it is not just a rendering issue). The
result is that after any edit it is again necessary to do the "set optimal
height" operation to fix the row.
STEPS TO REPRODUCE:
1. Load attached "test1.ods"
-OR-
Type 10-point text into a cell, control-ENTER for embedded return,
and more text. Then select the row, then Foimat->Row->Optimal Height,
set "Add" to zero, click OK
2. Set magnification to 80% (makes the problem more visible, at least for me)
3. Click in the cell with the multi-line text. Replace some characters
with the same characters, i.e., do an edit with no net change.
4. Click in some other cell
RESULTS:
The row collapses slightly. The text is rendered closer to the upper border,
possibly touching it or being partially clipped.
EXPECTED RESULTS:
Row height should not change due to a no-op edit
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs