Bug 167796 - TABLE cell: text align not saved or missaved
Summary: TABLE cell: text align not saved or missaved
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.7.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-03 17:27 UTC by cl.loeser
Modified: 2026-01-21 18:38 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cl.loeser 2025-08-03 17:27:38 UTC
If in a cell of a table the text-align ist set to vertical (bottom up) and then the file is saved, on reopening this align is not set to vertical any more (maybe not saved at all).

If in this reopened file the text-align of that cell again is set to vertical (bottom up) and the file is saved again, on reopening an error message ist shown (read error: format mistake in context.xml...) / german: "Lesefehler. Formatfehler in Teildokument contenx.xml..."

Steps to reproduce:

open new (blank) writer document.
insert a standard table (2x2)
write text in a cell, e.g. "12345"
set the text-align of that cell to "vertical (bottom up)"
save the file an close it.

reopen the file
(the text will not be shown vertical, but horizontal instead)
set the text-align of that cell to "vertical (bottom up)" for a second time
save the file and close it

on reopening the above described error message will appear.

Other bugs:
bug # 133946 ist specific to cells that continue on a second page.
bugs # 143441 and 70745 are specific to merged table cells.
Comment 1 Dieter 2025-08-19 17:55:39 UTC
My steps:
1. Open new (blank) writer document.
2. Insert a standard table (2x2)
3. write text in a cell, e.g. "12345"
4. select cell and click "Align Bottom" icon
5. Save, close and reopen

Actual and exppected result: Alignment is still vertically bottom

But perhaps my step 4 is wrong. Perhaps you can specify, cl.loeser?

Version: 25.8.0.4 (X86_64)
Build ID: 48f00303701489684e67c38c28aff00cd5929e67
CPU threads: 12; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded
Comment 2 cl.loeser 2025-08-28 17:21:40 UTC
I'm not sure, since my GUI is in german. In step 4, did you use the vertical alignment drop-down-menu with the three options top/center/bottom (german: Vertikale Ausrichtung: Oben/Zentriert/Unten)?
In that step I used the drop-down-menu above with the four options; I selected the third one. Does that work for you as expected?

On Linux, LO Writer 24.8.7.2 does not have the reported problem. Maybe it is a problem with my installation on windows. If a third person checked that with a windows installation it might become clear whether it is a problem with LO or with my installation.
Comment 3 raal 2025-09-20 08:40:11 UTC
No repro with Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8ea8e254a3151f5390f3a10ff156fcaf8e7c5d5c
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Tested .odt and .docx format.
Comment 4 Dieter 2025-09-29 16:48:28 UTC
(In reply to cl.loeser from comment #2)
> I'm not sure, since my GUI is in german. In step 4, did you use the vertical
> alignment drop-down-menu with the three options top/center/bottom (german:
> Vertikale Ausrichtung: Oben/Zentriert/Unten)?
I've used: Format -> Text ausrichten -> unten
Comment 5 BogdanB 2025-10-01 14:51:58 UTC
No problem in
Version: 25.8.3.0.0+ (X86_64) / LibreOffice Community
Build ID: d1e0f1ca1d9bbb810018df753f9529d3044c2f59
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Buovjaga 2026-01-21 18:38:09 UTC
Not reproduced.

Do you still see this with 25.8?

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 2; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded