Page MenuHomePhabricator

ULS search autocomplete doesn't handle RTL well: doesn't adapt direction, autocomplete text overlaps regular text
Open, NormalPublic

Description

If a user using a ltr language starts typing in rtl characters into the search, or a rtl language user starts typing ltr characters in, ULS doesn't adapt the direction of the search field, making the autocomplete text overlap the regular text strangely.


Version: unspecified
Severity: normal
Whiteboard: ux
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50787

Details

Reference
bz43951

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:13 AM
bzimport set Reference to bz43951.
bzimport added a subscriber: Unknown Object (MLST).

> i18n keyword, blocking bug 745

Arrbee added a comment.Mar 1 2013, 2:38 PM

(In reply to comment #0)

Thanks for the report. It would help us to better identify the problem of text overlap if you could attach a screenshot or the exact steps of reproduction preferably with a suggested string. Thanks.

Yair: Could you attach a screenshot and/or exact steps to reproduce, please?

Created attachment 11963
LTR language name in RTL context

Steps to reproduce:

  1. Have any ltr language selected.
  2. Click the language button in the top bar to the immediate left of the link to one's userpage.
  3. Type any Hebrew character ("א", for example) into the text box.

Alternatively, have a rtl language selected and type an English string, for example "Eng" (pictured in screenshot).

Attached:

This will require some magic with mixing placeholders and content with different direction. I'm not even sure that it's possible.

Another option is to add automatic direction detection - it's usually not perfect, but could work in this case.

p.selitskas wrote:

I cannot reproduce this behaviour in Chrome 29, Firefox 23.0.1 and Internet Explorer 10 @ Windows 7.

Amire80 moved this task from Backlog to Other on the RTL board.Jul 16 2015, 4:36 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 16 2015, 4:36 PM
Amire80 moved this task from Other to ULS on the RTL board.Aug 30 2015, 7:28 AM
Meno25 removed a subscriber: Meno25.Feb 8 2016, 7:35 PM
Amire80 moved this task from Untriaged to RTL on the I18n board.Feb 28 2018, 12:33 PM