misplaced word when combining Farsi with English word in a sentence.

UNCONFIRMED
Unassigned

Status

()

defect
P3
normal
UNCONFIRMED
7 months ago
5 months ago

People

(Reporter: mohsen.fatehifar, Unassigned)

Tracking

({rtl})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Reporter

Description

7 months ago
Posted image Untitled.jpg
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

Steps to reproduce:

put an English word in the middle of a Farsi (or any right to left language) in the search bar and the word order is mixed.


Actual results:

چگونه موبایل s7 را تعمییر کنیم.


Expected results:

چگونه موبایل s7 را تعمییر کنیم.

Updated

7 months ago
Component: Untriaged → Layout: Text and Fonts
Keywords: rtl
Product: Firefox → Core
This seems like the expected result assuming the application UI is left-to-right. I would expect RTL localizations of Firefox (such as Persian) to have a RTL user interface, though.

It looks like Chrome may be using dir=auto (or similar) so that the URL/search bar adopts the (assumed, not necessarily reliable) directionality of its current contents. This may work better in some cases, but can also result in odd behavior; e.g.

  (1) چگونه موبایل را تعمییر کنیم.

will display with RTL directionality, but

  (1a) چگونه موبایل  را تعمییر کنیم.

will display with LTR directionality.

Firefox, OTOH, consistently keeps the URL bar using the directionality of the overall application UI.

If anything is to be changed here -- I'm not sure if it'd be a good idea or not -- this seems like a Firefox front-end issue rather than a core text bug, anyhow.
Component: Layout: Text and Fonts → Address Bar
Product: Core → Firefox
Version: 63 Branch → Trunk

Both approaches seem to have pros and cons, not sure we can make an easy call. May end up being a wontfix.

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.