Bug 147271 - gtktiledviewer from the LibreOfficeKit renders mirrored content for an RTL spreadsheet
Summary: gtktiledviewer from the LibreOfficeKit renders mirrored content for an RTL sp...
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Dennis Francis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL
  Show dependency treegraph
 
Reported: 2022-02-07 22:17 UTC by Hossein
Modified: 2024-08-03 09:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example Calc file with an rtl sheet (10.19 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-02-07 22:19 UTC, Hossein
Details
Bad rendering (50.75 KB, image/png)
2022-02-10 21:48 UTC, Hossein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2022-02-07 22:17:00 UTC
Description:
When opening a Calc document with a right-to-left (rtl) sheet, the text is wrongly displayed as mirrored. The wrong mirroring is done both for English (ltr) and Arabic/Persian (rtl) text.

Steps to Reproduce:
1. Open a Calc file with an rtl sheet. You can invoke this from the core folder after building LibrOffice:

./bin/run gtktiledviewer --lo-path=instdir/program rtl.ods

Actual Results:
All the texts are displayed as mirrored.

Expected Results:
The text should be shown as normal readable text, and not mirrored.


Reproducible: Always


User Profile Reset: No



Additional Info:
The same effect can be created by sending UNO command "SheetRightToLeft" from the UI in a Calc file with rtl sheets.
Comment 1 Hossein 2022-02-07 22:19:11 UTC
Created attachment 178128 [details]
Example Calc file with an rtl sheet
Comment 2 Hossein 2022-02-10 21:48:09 UTC
Created attachment 178203 [details]
Bad rendering
Comment 3 Aron Budea 2022-02-11 16:08:15 UTC
Confirmed using gtktiledviewer in LO Version: 7.4.0.0.alpha0+ (80d00b3eec3a7811c0139afe0ea749cc319ce7b9) / Ubuntu.

It seems to me gtktiledviewer should mirror the whole sheet (including the row/column headers), which it doesn't do currently.
Comment 4 Eyal Rozenberg 2023-12-04 20:56:47 UTC
Is this under the right product? LibreOffice itself doesn't seem to exhibit this behavior. Perhaps it's the right product but should be in a different category, e.g. sdk?