Closed Bug 881146 Opened 11 years ago Closed 11 years ago

hdpi/xhdpi resolution assets and layout for First run experience app

Categories

(Firefox OS Graveyard :: Gaia::First Time Experience, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:hd+, b2g18 unaffected, b2g18-v1.0.0 unaffected, b2g18-v1.0.1 unaffected, b2g-v1.1hd fixed)

VERIFIED FIXED
blocking-b2g hd+
Tracking Status
b2g18 --- unaffected
b2g18-v1.0.0 --- unaffected
b2g18-v1.0.1 --- unaffected
b2g-v1.1hd --- fixed

People

(Reporter: timdream, Assigned: rexboy)

References

Details

Attachments

(2 files)

This bug represents fixes needed in First run experience app in order to deliver bug 881126:

-- Have visual supply us with @1.5x and the correct @2x images.
-- On v1.1hd, modify CSS/JS so that apps will display @1.5x/@2x images correctly.
-- On master, drop the @1.5x and @2x images and make sure there is no
more to tweak besides changes made on bug 830644.

As HIDPI support never landed on v1-train, I expect the patch for both
branches on this bug will be different. The CSS/JS patch on v1.1hd will be based on the patch on master, but I won't expect it to be as simple as a |git cherry-pick|; so this is
where the engineering work lays.

The patch on top of v1-train should land on v1.1hd.
Setting hd+ for 1.1hd specific requirement
blocking-b2g: hd? → hd+
Assignee: nobody → rexboy
Depends on: 887742
No longer depends on: 888841
Attached file patch
This bug aims to achieve similar goal with bug 830644 on hd1.1.0 branch.
Since we need some specified step to try on WVGA device (partial can be tested
on Nightly), if you care about the changes and would like to do a full review,
you may set review flag after reviewing; otherwise, you may set feedback flag
and let me find an appropriate reviewer in Taipei to review and confirm on WVGA
device.
These 1.5x assets in patch are here temporarily for confirming we're making right
layout changes, and will be replaced later after visual team supplying newly made
1.5x assets.
The step for testing by HD is noted in Github comment. Feel free to ping me if you have any concerns. Thanks a lot!
Attachment #770766 - Flags: review?(fernando.campo)
Attachment #770766 - Flags: feedback?(fernando.campo)
Hi folks,

Fernando went to PTO, if you want I can take care of reviwew for this, could you rebase the patch?

Thanks,
F.
Rex, see comment 3 above. Please rebase the patch, thank you!!
Flags: needinfo?(rexboy)
Ouch, sorry I didn't noticed the update.

The patch has been rebased.
Splash screen in shared/resources/branding would be updated later in another bug.
Flags: needinfo?(rexboy)
Comment on attachment 770766 [details]
patch

Set reviewer to :arcturus. Thanks for your help!

I'll put a patch for master to add @1.5x assets later.
Attachment #770766 - Flags: review?(francisco.jordano)
Attachment #770766 - Flags: review?(fernando.campo)
Attachment #770766 - Flags: feedback?(francisco.jordano)
Attachment #770766 - Flags: feedback?(fernando.campo)
Attached file patch (master)
Patch for master.

This is mostly just adding assets because we already have hidpi patch for master, with just a few css modification.
Attachment #773813 - Flags: review?(francisco.jordano)
Attachment #773813 - Flags: review?(francisco.jordano) → review+
Comment on attachment 770766 [details]
patch

Tried using the instructions using nightly.

Working well for normal and @1.5 images.

I have one question, I tried to try this in b2g desktop using the following command:

<path to b2g desktop> --screen=480x800@240 -profile <path to profile>

Any idea why?

Thanks
Comment on attachment 770766 [details]
patch

Anyway as I've tried on nightly :) r+plused.

Thanks a lot!
Attachment #770766 - Flags: review?(francisco.jordano)
Attachment #770766 - Flags: review+
Attachment #770766 - Flags: feedback?(francisco.jordano)
Attachment #770766 - Flags: feedback+
(In reply to Francisco Jordano [:arcturus] from comment #8)
> <path to b2g desktop> --screen=480x800@240 -profile <path to profile>
> 
> Any idea why?
> 
> Thanks

There are some known issues on detecting dppx in Gonk, but I'm not sure if it's related to desktop build. Sorry I didn't remember the bug number. I'll post it here if I find it.

Thank you for reviewing!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: