Bug 89363 - Support bidi direction for text spans
Summary: Support bidi direction for text spans
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.1.1 rc
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 89362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-13 10:27 UTC by Mohammad Etemaddar
Modified: 2015-10-14 19:49 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Needed change direction at middle of context (10.53 KB, application/vnd.oasis.opendocument.text)
2015-02-13 10:40 UTC, Mohammad Etemaddar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammad Etemaddar 2015-02-13 10:27:46 UTC
There are many situations in RTL language where we want to change direction of a text at middle of context.
For example you can copy and paste these lines (It's in Persian):

-----

زبان C++ یک زبان شی‌گرا است.

ویکی‌پدیا، Wikipedia (free encyclopedia) یک دانش‌نامه آزاد است.

-----

Direction of all text is Right to left. But we need to change direction of the two texts "C++" and "Wikipedia (free encyclopedia)" to LTR. Because they show wrong now.

In HTML we can put span tag and set span tag's "direction" property to "ltr" for example:

---------
ویکی‌پدیا، <span direction="ltr">Wikipedia (free encyclopedia)</span> یک دانش‌نامه آزاد است.
---------

Now, microsoft office changes this using default button.
But, ckeditor has this, using another button. Here is a plugin (However ckeditor has this feature without this plugin, I have created this before I know the ckeditor's default feature.

http://metemaddar.ir/sites/default/files/loft.zip

CKeditor default button:
http://metemaddar.ir/sites/default/files/styles/large/public/field/image/LTR%20inline%20style.png

Thank you all very much. I like myself to become participate in creating new features in my beloved Libre Office.
Comment 1 Mohammad Etemaddar 2015-02-13 10:31:32 UTC
*** Bug 89362 has been marked as a duplicate of this bug. ***
Comment 2 Mohammad Etemaddar 2015-02-13 10:40:27 UTC
Created attachment 113362 [details]
Needed change direction at middle of context

This is a test case.
Comment 3 Jean-Baptiste Faure 2015-02-14 14:38:52 UTC
Please, do not confirm your own bug report, each bug report must be confirmed independently.
Set status back to UNCONFIRMED.

Thank you for your understanding.

Best regards. JBF
Comment 4 Yousuf Philips (jay) (retired) 2015-02-22 14:16:04 UTC
Open the sample doc and 'C++' showed up as '++C', but the second line with wikipedia showed up fine.
Comment 5 Robinson Tryon (qubit) 2015-02-26 20:45:30 UTC
TESTING with 4.4.1.2 + Ubuntu 14.04

(In reply to Mohammad Etemaddar from comment #0)
REPRO Steps:

1) Copy the following text and paste it into Writer
> -----
> 
> زبان C++ یک زبان شی‌گرا است.
> 
> ویکی‌پدیا، Wikipedia (free encyclopedia) یک دانش‌نامه آزاد است.
> 
> -----

2) Compare resulting display in Writer with source text

> 
> Direction of all text is Right to left. But we need to change direction of
> the two texts "C++" and "Wikipedia (free encyclopedia)" to LTR. Because they
> show wrong now.

NOREPRO: Text pasted into Writer appears just as it does above.

(Side Note: I rarely get a chance to work with RTL text, let alone mixed-direction text, and what happens when I try to right-arrow through the mixed-direction line in LibreOffice is really cool! :-)

In any case, this is working for me.

Mohammad: can you reproduce the problem with 4.4.1.2 (or later)?
https://www.libreoffice.org/download/

Status -> NEEDINFO

> 
> Thank you all very much. I like myself to become participate in creating new
> features in my beloved Libre Office.

You're quite welcome!  Thanks for the very clear bug report -- feel free to stop by the #libreoffice-qa IRC channel and say hi to the QA Team. We're always interested in welcoming motivated people into our group!
Comment 6 QA Administrators 2015-09-04 02:55:58 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team

This NEEDINFO message was generated on: 2015-09-03
Comment 7 QA Administrators 2015-10-14 19:49:08 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided):

a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. 
Please do not:
a) respond via email 
b) update the version field in the bug or any of the other details on the top section of FDO

Message generated on: 2015-10-14