Closed
Bug 902786
Opened 11 years ago
Closed 11 years ago
e.me in landing page is not multi-dppx ready
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(blocking-b2g:hd+, b2g18 wontfix, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix, b2g-v1.1hd fixed, b2g-v1.2 unaffected)
People
(Reporter: timdream, Assigned: ranbena)
References
Details
Attachments
(1 file)
The patch in bug 838634 does not take dppx into account.
https://github.com/mozilla-b2g/gaia/commit/60ca81600a080dae33058b0692ecaa213556c926#L7R228
This should be 'sans-serif', not a particular font-family name.
https://github.com/mozilla-b2g/gaia/blob/60ca81600a080dae33058b0692ecaa213556c926/apps/homescreen/everything.me/js/helpers/Utils.js#L27
It still calculate poor man's dppx.
https://github.com/mozilla-b2g/gaia/commit/60ca81600a080dae33058b0692ecaa213556c926#L22R99
The hack does not include helix device (device css height/width = 320x533).
I humbly wish that patch authors and reviewers understanding there there is a on-going effort of shipping an hd device on top of v1-train branch, before leo+ and landing a patch.
Reporter | ||
Comment 1•11 years ago
|
||
Ran, would you submit a follow up patch, for master and v1.1.0hd?
Vivien, would you review the follow-up patch?
No longer blocks: 899451
blocking-b2g: leo+ → hd?
status-b2g18:
fixed → ---
status-b2g-v1.1hd:
fixed → ---
Flags: needinfo?(ran)
Flags: needinfo?(21)
Reporter | ||
Comment 2•11 years ago
|
||
It looks like the entire patch is broken on v1.1.0hd when GAIA_DEV_PIXELS_PER_PX is set to 1.5. We will need a follow-up fix in this bug too.
Comment 3•11 years ago
|
||
I would review whatever is needed and pops up before friday. Thanks for opening the bug.
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #0)
> The patch in bug 838634 does not take dppx into account.
>
> https://github.com/mozilla-b2g/gaia/commit/
> 60ca81600a080dae33058b0692ecaa213556c926#L7R228
>
> This should be 'sans-serif', not a particular font-family name.
>
So just changing |Feura Sans| to |sans serif| would do it?
That's what I thought at first but I think Ran told me he had to use an explicit name for canvas. We will check that again.
> https://github.com/mozilla-b2g/gaia/blob/
> 60ca81600a080dae33058b0692ecaa213556c926/apps/homescreen/everything.me/js/
> helpers/Utils.js#L27
>
> It still calculate poor man's dppx.
>
Does s/320/window.innerWidth is enough hre?
> https://github.com/mozilla-b2g/gaia/commit/
> 60ca81600a080dae33058b0692ecaa213556c926#L22R99
>
> The hack does not include helix device (device css height/width = 320x533).
>
Oh cool! I stole this hack from the browser app directly. Sounds like the browser app needs a patch then I will stole it again :)
> I humbly wish that patch authors and reviewers understanding there there is
> a on-going effort of shipping an hd device on top of v1-train branch, before
> leo+ and landing a patch.
Tell that to planning!
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #787733 -
Flags: review?(timdream)
Flags: needinfo?(ran)
Assignee | ||
Comment 5•11 years ago
|
||
Tim, it looks like the merge simply removed some important stuff from Utils.js that we put in to the hd branch a few weeks ago. So I just put it back and things seem fine.
I couldn't connect the dppx phone to wifi here so I could test the apps. How does it perform now?
Updated•11 years ago
|
blocking-b2g: hd? → hd+
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 787733 [details]
Patch - redirect to github PR.html
Thanks! I will test it and see if there is any follow-up issues.
Attachment #787733 -
Flags: review?(timdream) → review+
Reporter | ||
Comment 7•11 years ago
|
||
Assignee: nobody → ran
Status: NEW → RESOLVED
Closed: 11 years ago
status-b2g18:
--- → wontfix
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-b2g-v1.1hd:
--- → fixed
Resolution: --- → FIXED
Reporter | ||
Comment 8•11 years ago
|
||
I can verify the patch does fix E.me on hd branch. However we need the same fix (aligning hd with master) on master.
https://github.com/EverythingMe/gaia/blob/master/apps/homescreen/everything.me/js/helpers/Utils.js
Ran, would you submit a patch for that too? Thanks.
Reporter | ||
Comment 9•11 years ago
|
||
Ran, you need to patch the master branch too in order to close this bug.
Flags: needinfo?(ran)
Assignee | ||
Comment 10•11 years ago
|
||
Hey Tim, we've landed the fix in Bug 910338. Can you verify?
Flags: needinfo?(ran)
Reporter | ||
Comment 11•11 years ago
|
||
Right. We should mark this bug as unaffected to v1.2 since the UI changed a lot.
Thanks.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
status-b2g-v1.2:
--- → unaffected
status-firefox26:
affected → ---
Resolution: --- → FIXED
Comment 12•11 years ago
|
||
[2013/10/21 Helix Testing]
Gaia: c829a2042594b6c3a4899ee27979799a0f301534
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/f7c657f6d019
BuildID 20131015042201
Version 18.0
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•