Closed Bug 1509232 Opened 6 years ago Closed 3 years ago

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

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mohsen.fatehifar, Unassigned)

Details

(Keywords: rtl)

Attachments

(1 file)

Attached 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 را تعمییر کنیم.
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

Hi, could we close this bug? Has a decision been taken?
Thanks, Flor

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(mak)
Resolution: --- → WORKSFORME

For now let's call it a wontfix, details are in comment 1, we have to make an explicit choice anyway and there's no evidence the alternative is better than what we do.

Flags: needinfo?(mak)
Resolution: WORKSFORME → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: