Bug 153524 - FILEOPEN PPTX: wrong text direction and spacing of RTL text in left align text box
Summary: FILEOPEN PPTX: wrong text direction and spacing of RTL text in left align tex...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX-RTL
  Show dependency treegraph
 
Reported: 2023-02-10 13:34 UTC by Pablo
Modified: 2023-08-27 23:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
PPTX with RTL text in align-left text box (30.20 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-02-10 13:35 UTC, Pablo
Details
PowerPoint 2013 PDF export with correct result (70.10 KB, application/pdf)
2023-02-10 13:36 UTC, Pablo
Details
Comparsion LibreOffice 7.6 master vs MSO (11.69 KB, image/png)
2023-02-10 13:51 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo 2023-02-10 13:34:34 UTC
Description:
The attached pptx has a text box with right-to-left text. The text box text-align is left and the text direction is left-to-right.
The letters order and space between letters is wrong in Impress.

Steps to Reproduce:
1. Open the attached pptx with Impress.
2. Compare the order of letters and spacing to the attached pdf.

Actual Results:
Wrong order of letters. Text is displayed as:
"ב:          א"
Large space between letters. No space on the left.

Expected Results:
Text should be:
"         א: ב"
With a single space between the letters and several spaces on the left.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: threaded
Comment 1 Pablo 2023-02-10 13:35:15 UTC
Created attachment 185287 [details]
PPTX with RTL text in align-left text box
Comment 2 Pablo 2023-02-10 13:36:08 UTC
Created attachment 185288 [details]
PowerPoint 2013 PDF export with correct result
Comment 3 Xisco Faulí 2023-02-10 13:51:17 UTC
Created attachment 185292 [details]
Comparsion LibreOffice 7.6 master vs MSO
Comment 4 Xisco Faulí 2023-02-10 13:52:04 UTC
Reproduced in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b052ec2f2fbe0f3044ba824c064a280a5ee9cd7f
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

and

Version: 6.0.0.0.alpha1+
Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: es-ES (es_ES.UTF-8); Calc: group threaded
Comment 5 Sophie Sipasseuth 2023-02-10 14:12:54 UTC
When I use your "PPTX with RTL text in aligh-left text box" file.
And when I put my cursor in the box, I observe a strange behavior.
With the arrows on my keyboard, when I would like to go 1 space on the left, the cursor goes one space on the right, and the reverse also!
It doesn't respond to the bug but it's an additional observation.
And the box hasn't been rotated.
I checked it.