Bug 119604

Summary: RTL, TABLE: Text cannot be rotated in a RTL table in LibreOffice Writer
Product: LibreOffice Reporter: vaaydayaasra
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: ilmari.lauhakangas
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=145238
https://launchpad.net/bugs/1772445
https://bugs.documentfoundation.org/show_bug.cgi?id=60006
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 43808, 103100, 106045    
Attachments: Screenshot of a LTR and a RTL table which both have rotated text
ODT document used to create the screenshot

Description vaaydayaasra 2018-08-30 11:05:40 UTC
Description:
Text can normally be rotated either 90 or 270 degrees through the Character > Position dialog box. This works even in tables, but only if the table’s text direction is set to Left-to-right. If the table’s text direction is set to Right-to-left through the Table properties dialog, no rotation takes effect. See the screenshot of a document, where there are two identical tables, one marked as LTR and the other as RTL. Text is rotated as expected in the LTR table, while nothing seems to happen in the other one.

This bug was first reported on Launchpad for LO 5.4.6.2 on Ubuntu 17.10 at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1772445 . After my initial report, I have upgraded to LO 6.0.3.2 and can still reproduce the problem. Another user on Launchpad confirmed the bug on LO 6.0.3.2 and 6.1.0.3, as well.

Steps to Reproduce:
1. In Writer, create a table and write some text in it.
2. Select the text and rotate it by 90 degrees through the Character > Position dialog box.
3. Change the directionality of the table to Right-to-Left through the Table properties dialog.

Actual Results:
The text becomes horizontal, as it was before rotation.

Expected Results:
The text should be rotated by 90 degrees, as happens in a Left-to-Right table.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 vaaydayaasra 2018-08-30 11:08:02 UTC
Created attachment 144551 [details]
Screenshot of a LTR and a RTL table which both have rotated text
Comment 2 vaaydayaasra 2018-08-30 11:08:44 UTC
Created attachment 144552 [details]
ODT document used to create the screenshot
Comment 3 Buovjaga 2018-09-23 15:40:27 UTC
Repro.

Version: 6.2.0.0.alpha0+ (x64)
Build ID: 3208fcb3a36d75d6290d9c548430682f153b09db
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-09-20_22:43:20
Locale: fi-FI (fi_FI); Calc: threaded

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 8b1501d80dc9d3f42c351c6e026fa737e116cae5
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on 23 September 2018

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 4 QA Administrators 2019-09-24 03:10:46 UTC Comment hidden (obsolete)
Comment 5 vaaydayaasra 2019-10-07 15:58:45 UTC Comment hidden (obsolete)
Comment 6 Timur 2020-02-20 13:25:06 UTC
Repro 7.0+.
Seems that RTL text in table doesn't go RTL. I guess another bug that should be in See Also.
Comment 7 QA Administrators 2022-02-20 03:34:50 UTC Comment hidden (obsolete)
Comment 8 vaaydayaasra 2022-03-01 18:40:23 UTC
Reproducible on:

Version: 7.3.0.3 (x64) / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL
Comment 9 Stéphane Guillou (stragu) 2023-12-15 22:23:20 UTC
Reproduced in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fdc87dd56548622e13353b4cf9864232ee0110fb
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded