Bug 156736

Summary: Table with mixed RTL/LTR cells & objects garbled after trivial width adjustment
Product: LibreOffice Reporter: Hossein <hossein>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: eyalroz1, ilmari.lauhakangas
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 43808, 103100    

Description Hossein 2023-08-11 09:50:03 UTC
Description:
In a table with mixed mixed RTL/LTR cells and objects, some times it becomes garbled.

Steps to Reproduce:
1. Open attachment 188850 [details] from tdf#156672.
2. Double click on the left border of the table.

Actual Results:
The table is garbled. Pressing ctrl+z does not go back to the original loaded document.

Note: The table behaves differently with all the cells direction set to LTR, RTL or mixed, when double clicking on the borders and using undo/redo.

Expected Results:
The table should remain almost the same, with a small adjustment in width.

Reproducible: Always


User Profile Reset: No


Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5484657d2b1677b7e385ab6ef87ad64dcb9934e4
CPU threads: 20; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: CL threaded
Comment 1 Buovjaga 2023-08-11 14:56:03 UTC
Repro already in 4.3 and 3.5.

Weird: tooltip for "Adjust column" shows in older versions, but not in recent ones (Win/Linux).

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5af44a176d2a738dd7523713202aeee27c5578b6
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 11 August 2023
Comment 2 Eyal Rozenberg 2023-08-11 15:50:03 UTC
Wow, this is a fun bug :-(

Hossein, can you create an ODT-only document for reproducing this? Perhaps will less rows (as few possible while still manifesting the bug)?
Comment 3 Hossein 2023-08-12 13:32:59 UTC
Reproducible in LO 3.3.0. Marking as inherited from OOo.

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4