Bug 63149 - BiDi-aware Autocorrection
Summary: BiDi-aware Autocorrection
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
 
Reported: 2013-04-05 05:58 UTC by Lior Kaplan
Modified: 2019-09-09 12:48 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
arrow examples (9.34 KB, application/vnd.oasis.opendocument.text)
2013-04-05 05:58 UTC, Lior Kaplan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lior Kaplan 2013-04-05 05:58:04 UTC
Created attachment 77466 [details]
arrow examples

When writing "->" in writer the signs are translated into an arrow icon. This translation is done without taking the text/paragraph directionality into consideration. So it's possible to have an -> arrow in a text which is RTL.

Input (please type, don't copy/paste as it won't translate the arrow):
אחד -> שתיים

actual output
אחד → שתיים

wanted output:
אחד ← שתיים

See also the attached example document.
Comment 1 Urmas 2013-04-05 08:35:38 UTC
AFAIK arrows are not supposed to be mirrored automatically.
Comment 2 tommy27 2014-08-25 14:03:23 UTC
@Lior
I think you should set two separate autocorrect replacement:
one for -> to → 
and another one for <- to ←

does this solves your problem?
Comment 3 Omer Zak 2017-11-03 11:10:03 UTC
Still happens in:

Version: 5.4.2.2.0+
Build ID: 1:5.4.2-3~bpo9+1
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.utf8); Calc: group

OS: Debian 64bit Stretch (Debian 9.2, with some backported packages)
Comment 4 Eyal Rozenberg 2018-09-17 17:12:07 UTC
Bug still manifests with:

Version: 6.1.1.2
Build ID: 5d19a1bfa650b796764388cd8b33a5af1f5baa1b
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: en-GB (en_GB.UTF-8); Calc: group threaded