https://bugs.documentfoundation.org/show_bug.cgi?id=159029
Bug ID: 159029
Summary: Inconsistent display of vertical table alignments in
merged cells that span pages
Product: LibreOffice
Version: 7.6.4.1 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
When cells are merged that span pages using centered or bottom alignment, the
text is not displayed correctly according to the selected alignment, and is not
properly updated when the merged cell appears on a single page after having
spanned multiple pages.
Steps to Reproduce:
1. Insert a new line. (This is not part of the bug, but makes some of the
following steps easier to follow.)
2. Insert a table with 2 columns and 75 rows (enough to span two pages).
3. To make seeing the bug easier, I recommend Multipage View and reducing the
zoom so that two pages are visible at once.
4. Select all of the cells in the second column that are visible on the first
page. Merge them (F4 or Right-click | Merge).
5. Enter the merged cell and type "hello."
6. Select all of the cells in the second column that are visible on the second
page. Merge them (F4 or Right-click | Merge).
7. Enter the newly merged cell (now the second one in the second column) and
type "Goodbye."
8. Select the entire table. Go to Table Properties | Text Flow | Vertical
Alignment and set it to Bottom. Hit OK. Notice that Hello and Goodbye are now
at the bottom of their cells.
9. Go to the new line before the table. Hit return. Notice that the word
"Hello" jumps to the top of the merged cell. Instead, it should be displayed at
the bottom of the merged cell which is now at the top of page 2.
10. Select the entire table. Go to Table Properties | Text Flow | Vertical
Alignment and set it to Top. Hit OK. Notice that both Hello and Goodbye appear
at the top of their cells.
11. Select the entire table. Go to Table Properties | Text Flow | Vertical
Alignment and set it to Bottom. Hit OK. Notice that Hello is incorrectly
displayed at the bottom of the merged cell on page 1, NOT at the true bottom of
the merged cell, which is on the top of page 2.
12. Go to one of the new lines above the table, and delete one of them. The
merged cell should now be entirely displayed on page 1. Notice that Hello jumps
back to the top of the merged cell rather than staying at the bottom as it
should.
13. All of these steps can be repeated with Center vertical alignment as well,
and the same problems occur: when the merged cell spans to the second page, the
text jumps to the top; when the Table is set to Top and then to Center, forcing
a recalculation, the vertical center is calculated relative to the amount of
the merged cell displayed on page 1, rather than with respect to the full
height of the merged cell, including the part which spans onto the second page.
And when the merged cell is returned to appear on a single page, the center is
not recalculated unless the vertical alignment is changed to something else and
then back to Center.
Actual Results:
Text jumps to the top when the merged cell changes its span from one page to
two or back from two to one. When the merged cell spans two pages, bottom and
center alignments are calculated only relative to the amount of the merged cell
displayed on the first page rather than the entire height of the merged cell,
including the part displayed on the second page.
Expected Results:
The position of text in cells with center and bottom alignments should be
calculated with respect to the entire height of the merged cell even when it
spans two pages, and remain constant whether the cell is on one page or spans
two pages.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
--
You are receiving this mail because:
You are the assignee for the bug.