Bug 58070

Summary: RTL [HE] EDITING Switching paragraph style changes character orientation
Product: LibreOffice Reporter: Inkbug <inkbug200>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: christopher.m.penalver, inkbug200
Version: 3.6.2.2 release   
Hardware: All   
OS: Linux (All)   
See Also: https://launchpad.net/bugs/1093765
Whiteboard:
i915 platform: i915 features:
Attachments: Downstream attachment

Description Inkbug 2012-12-10 08:07:33 UTC
Steps to reproduce:
1. Create new paragraph
2. Change paragraph direction to RTL
3. Change paragraph style to Heading 1

Current Behavior:
The paragraph becomes a heading but switches back to LTR direction.

Expected Behavior:
The paragraph becomes a heading but stays RTL.
Comment 1 Christopher M. Penalver 2013-05-29 11:09:00 UTC
Created attachment 79954 [details]
Downstream attachment
Comment 2 Christopher M. Penalver 2013-05-29 11:27:54 UTC
As per downstream report https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1093765 :

1) lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:4.0.2-0ubuntu1
  Candidate: 1:4.0.2-0ubuntu1
  Version table:
 *** 1:4.0.2-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ raring/main i386 Packages
        100 /var/lib/dpkg/status

3) What is expected to happen in Writer via a terminal:
cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1093765/+attachment/3688368/+files/test-bug1093765.doc && lowriter --nologo test-bug1093765.doc

is select all -> change combo box Apply Style from Text Body to Heading 1 and the text style changes, preserving the character order.

4) What happens instead is:
(Example text=) טקסט לדוגמה

changes to:
טקסט לדוגמה (=Example text)

Microsoft Office Professional Plus 2010 Word Version 14.0.6023.1000 (32-bit) changes it to:
=)טקסט לדוגמהExample text(

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.