Closed
Bug 758257
Opened 12 years ago
Closed 12 years ago
Arabic joining on bbcpersian.com broken if the tab is restored after Fennec loads
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(firefox14 verified, blocking-fennec1.0 +)
VERIFIED
FIXED
Firefox 15
People
(Reporter: ehsan.akhgari, Assigned: jfkthame)
References
Details
Attachments
(2 files)
5.99 KB,
patch
|
jtd
:
review+
joe
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
108.11 KB,
image/png
|
Details |
I've noticed this on Aurora and I think on Nightly as well. When I load bbcpersian.com from scratch after opening firefox it displays the text fine, but when a tab is restored when firefox starts up, parts of the text on the page still appears non-joined.
Assignee | ||
Comment 1•12 years ago
|
||
I believe the problem is that the workaround in bug 706888 was only applied when initially reading the list of fonts from the filesystem, but doesn't take effect when loading the font list from the startupcache - therefore, the bug doesn't appear on first run after install/update, but does appear on subsequent launches. This ought to fix it, by factoring out the bad-font workarounds and applying the same hacks to both the freshly-loaded and cached font lists. Not yet tested, but tryserver build should appear at https://tbpl.mozilla.org/?tree=Try&rev=dfe27063b675 shortly if all goes well.
Assignee: nobody → jfkthame
Reporter | ||
Comment 2•12 years ago
|
||
Your theory makes a lot of sense to me.
Blocks: 706888
blocking-fennec1.0: --- → ?
Assignee | ||
Comment 3•12 years ago
|
||
Tryserver decided not to bother doing anything with that push :( so I've pushed it again, hope to get a result this time: https://tbpl.mozilla.org/?tree=Try&rev=93890f7f6887
Assignee | ||
Updated•12 years ago
|
Attachment #626987 -
Flags: review?(jdaggett)
Comment 4•12 years ago
|
||
Comment on attachment 626987 [details] [diff] [review] patch, work around broken fonts on android when using cached font list as well as when first reading the list Looks fine. I still hate having to do these evil per-font hacks but that's life I guess.
Attachment #626987 -
Flags: review?(jdaggett) → review+
Reporter | ||
Comment 5•12 years ago
|
||
I tried the try server build here, and it does indeed fix the bug.
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1585459db40a
Target Milestone: --- → Firefox 15
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 626987 [details] [diff] [review] patch, work around broken fonts on android when using cached font list as well as when first reading the list [Approval Request Comment] Bug caused by (feature/regressing bug #): fix in bug 706888 was incomplete, because we have two distinct code paths for building the font list (directly, or from startup-cache) User impact if declined: broken Arabic-script text on some devices Testing completed (on m-c, etc.): Ehsan confirmed tryserver build with patch fixes the bug on his affected device Risk to taking this patch (and alternatives if risky): minimal risk - mobile-only, narrowly targeted fix for broken font; patch just factors out the fix from 706888 so that both font-list codepaths can use it String or UUID changes made by this patch: none
Attachment #626987 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
blocking-fennec1.0: ? → +
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1585459db40a
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Comment 9•12 years ago
|
||
Comment on attachment 626987 [details] [diff] [review] patch, work around broken fonts on android when using cached font list as well as when first reading the list Please land ASAP for the Fennec beta build.
Attachment #626987 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 10•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/d490cc85303c
Updated•12 years ago
|
status-firefox14:
--- → fixed
Reporter | ||
Comment 11•12 years ago
|
||
Jonathan, did this get stuck on Aurora? I still see the bug there...
Assignee | ||
Comment 12•12 years ago
|
||
AFAIK, this should be on Aurora - could you double-check exactly what build you're using and confirm the steps that reproduce the bug? Is it still happening when restoring tabs?
Reporter | ||
Comment 13•12 years ago
|
||
I'm using the latest Aurora nightly. Now Arabic joining seems to be completely broken for some fonts, no matter when the tabs are restored or when you navigate to them from scratch. Nightly seems to work just fine though...
Assignee | ||
Comment 14•12 years ago
|
||
It sounds like you may be seeing yet another issue, then (sigh).... could you give a specific URL that shows the problem, along with a screenshot of the result you see?
Reporter | ||
Comment 15•12 years ago
|
||
bbcpersian.com, will attach the screenshot in a sec.
Reporter | ||
Comment 16•12 years ago
|
||
Reporter | ||
Comment 17•12 years ago
|
||
Comment on attachment 629869 [details]
screenshot on aurora
The text of the news articles appears to always join properly, but the headline font on the article pages is not joined. This bug however manifests itself on the homepage much better though, as seen here.
Assignee | ||
Comment 18•12 years ago
|
||
Sorry, I'm at a loss here.... AFAICS, the same Arabic-font fixes are present in both Aurora and Nightly. I can't reproduce the issue locally, as I don't have a device that suffers from the broken-DroidSansArabic problem.
Comment 19•12 years ago
|
||
Ehsan, which build are you running?
Reporter | ||
Comment 20•12 years ago
|
||
I'm running Aurora nightly from 2012-06-04 (according to about:firefox). Any chance you can install the fonts I attached to bug 706888 and see if you can reproduce this?
Comment 21•12 years ago
|
||
The text including the headline is joined. I verified this on: LG Optimus 2X (Android 2.2.2) Builds: - Nightly 16.0a1 (2012-06-06) - Aurora 15.0a2 (2012-06-06) - Firefox 14.0 Beta 6 (2012-06-06) Marking it as verified fixed, please reopen if you still can see the bug.
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•