Page MenuHomePhabricator

preview wrongly aligned for RTL when RTL and LTR are mixed
Closed, ResolvedPublic

Description

I think it is one more case of T97958.

Screenshot_2015-05-25-22-06-09.png (1×1 px, 226 KB)

Event Timeline

Matanya raised the priority of this task from to Needs Triage.
Matanya updated the task description. (Show Details)
Matanya subscribed.

Alignment within the link preview seems to be quite messed up for RTL languages. Here, my device is set to English but the app is set to Hebrew, and all the text is left aligned.

img1.png (1×1 px, 840 KB)

@Dbrant: I'm holding off on adding this to the sprint per Max's advice but I identified this to @Etonkovidova as a candidate for testing/potential signoff.

The issue is that the article starts with LTR language. The wiki page in hewiki displays

Screen Shot 2015-12-23 at 3.00.36 PM.png (364×1 px, 128 KB)

Android:

Screenshot_2015-12-23-15-08-48.png (1×1 px, 233 KB)

iOS

IMG_0103.PNG (1×640 px, 127 KB)

Note: I will follow up with @Mooeypoo for more insights on RTL presentation.

Re-checked with 2.1.137-alpha-2016-01-20 on Nexus 5 (Android 5.1.1) - the preview looks correct
(confirmed with @Mooeypoo).

Note: The article's title displayed in preview is 'ALS' which re-directs to the correct article (not quite sure if it's an issue?)

Screenshot_2016-01-21-16-07-11.png (1×1 px, 182 KB)

In Dark theme - as the original screenshot in the issue.

Screenshot_2016-01-21-16-08-42.png (1×1 px, 162 KB)

Screenshot_2016-01-21-16-08-58.png (1×1 px, 223 KB)