Bug 63149 - Counter-intuitive autocorrection in RTL text
Summary: Counter-intuitive autocorrection in RTL text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
Reported: 2013-04-05 05:58 UTC by Lior Kaplan
Modified: 2020-02-29 11:00 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

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

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
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:

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:

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
Comment 5 Eyal Rozenberg 2020-02-29 11:00:15 UTC
Still manifests with:

Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; 
Locale: he-IL (en_IL); UI-Language: en-US

Also, this is not an enhancement request - it's a bug. When I type -> and press F3, I do _not_ expect to get an arrow that looks like <- . It's a design bug rather than an implementation bug.