This bug is being "migrated" (more like copied) from the old OpenOffice Bugzilla - one of the RTL-CTL bugs tracked there: https://bz.apache.org/ooo/show_bug.cgi?id=55178 When the user is editing a cell in RTL direction, or in automatic direction in an RTL sheet, end enters a formula - even one without any RTL character - the rendering of the cell text (i.e. the = sign and the formula) is RTL rather than LTR, within the cell, during the edit. After the edit - it's the formula result that gets shown. The cell edit bar on top is "fine"; or rather - it is LTR always, but that would be a different issue (if at all).
Confirmed in LO 7.6 dev master: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 8c3e219a831719ebb40dd2af8a26b0a24ad7aba1 CPU threads: 12; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: fa-IR (fa_IR); UI: fa-IR Calc: CL threaded One can reproduce the problem by running LibreOffice in this way: $ LANG=fa_IR instdir/program/soffice --calc and then typing: =123 The text will appear as 123= before pressing enter. Surprisingly, the problem is not reproducible with: SAL_RTL_ENABLED=1 instdir/program/soffice