Bug 74258 - improve RTL (LTR) span in LTR (RTL) paragraph
Summary: improve RTL (LTR) span in LTR (RTL) paragraph
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-31 07:02 UTC by Nasser Mansouri
Modified: 2015-05-02 21:22 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
ltr span inside rtl content (78.04 KB, image/png)
2014-01-31 07:02 UTC, Nasser Mansouri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nasser Mansouri 2014-01-31 07:02:36 UTC
Created attachment 93099 [details]
ltr span inside rtl content

hey, 
if i create a blank writer page and insert into it a RTL paragraph , i can easily add my text in RTL direction, if i want to add a simple LTR span inside that paragragh, when i change the direction style of that span, direction of paragraph changes to new LTR style :(

i have checked content.xml file inside my odt file, i think some improvements is needed in tool that modifies content.xml file.
Comment 1 ⁨خالد حسني⁩ 2014-01-31 14:13:18 UTC
The direction buttons change the base direction of the whole paragraph, not the selected part of it.

What you want is something similar to http://www.w3.org/TR/css3-writing-modes/#propdef-unicode-bidi "isolate" values (propably requires changes to the underlying file formats), or inserting the equivalent Unicode BiDi control characters around the embedded LTR span (which you can do right now). Either case it will be a different UI element.
Comment 2 Joel Madero 2015-05-02 15:43:00 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.2 or later)
   https://www.libreoffice.org/download/

   If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
 If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   Update the version field
   Reply via email (please reply directly on the bug tracker)
   Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-05-02
Comment 3 Nasser Mansouri 2015-05-02 19:02:02 UTC
this is not a bug ( i think so ) , but i wish you add same thing that i can insert LTR ( or RTL ) text within RTL ( or LTR ) paragraph,
thank  you libreOffice ,
Comment 4 ⁨خالد حسني⁩ 2015-05-02 21:22:15 UTC
There should be no problem inserting LTR text inside RTL paragraph and the reverse, it should just work most of time, and for the odd cases where you want to force specific direction for punctuation and other symbols, you can Unicode bidi control characters for finer control, have you tried this?