Closed Bug 1382752 Opened 7 years ago Closed 7 years ago

[Activity Stream] Top sites titles are displayed with the title's last characters

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 56
Tracking Status
firefox56 ? fixed

People

(Reporter: itiel_yn8, Assigned: Mardak)

References

Details

Attachments

(1 file)

Attached image Screenshot
Environment:
Windows 10
Nightly 56.0a1 2017-07-20 running as RTL (you can use the Force-RTL addon to reproduce)

STR:
1. On a clean profile, enter a site whose title is LTR (and preferably one that relatively has lots of characters), for example:
https://wiki.mozilla.org/Features/Release_Tracking
2. Open a new tab, observe the newly added item added to the top sites.

ER:
The first characters of the page's title should appear on that tile.

AR:
The last characters are shown, in my machine it would be "MozillaWiki" instead of "Features/Release" or something like that.

See screenshot.

The same issue can be reproduced if running Nightly as LTR, and entering a site whose title is in RTL.
See bug 1324890 that is very similar to this one, it was fixed by 1357656.

The problem with fixing this issue is that the ellipsis character would appear really close to the thumbtack icon.
A possible solution would be to use fade-out like it's already done in the tab bar.
It would really nice to fix this issue, since this makes the new tab page pretty unusable for RTL users.

The correct fix is probably to wrap these titles in a <span dir=auto></span>.
[Tracking Requested - why for this release]:
This should probably be considered a blocking issue for the release of Firefox that ships activity streams for the first time.  it'd be nice to avoid having to ship a dot release similar to what we had to do for bug 1357656.
Fixed with https://github.com/mozilla/activity-stream/pull/2952 to be uplifted via bug 1383917.
Blocks: 1383917
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee: nobody → edilee
Target Milestone: --- → Firefox 56
Fixed on latest Nightly.
Status: RESOLVED → VERIFIED
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: