Closed Bug 881158 Opened 11 years ago Closed 11 years ago

hdpi/xhdpi resolution assets and layout for Video app

Categories

(Firefox OS Graveyard :: Gaia::Video, defect)

x86
macOS
defect
Not set
normal

Tracking

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

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

People

(Reporter: timdream, Assigned: johnhu)

References

Details

Attachments

(4 files)

This bug represents fixes needed in Video 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 → johu
Attached file patch for this bug
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. Thanks a lot!
Attachment #768830 - Flags: review?(rexboy)
Attachment #768830 - Flags: review?(dale)
Comment on attachment 768830 [details]
patch for this bug

Mostly looks good to me with a few comments on Github. Thank you!

May you try if you can eliminate the problem on |li| come from non-integer CSS pixel?
Attachment #768830 - Flags: review?(rexboy) → review+
Comment on attachment 768830 [details]
patch for this bug

Looks good, cheers
Attachment #768830 - Flags: review?(dale) → review+
Tested on peak and all looks to be working, thanks

Merged in: https://github.com/mozilla-b2g/gaia/commit/b351f42cac394d0c628c1096a802956be7d57842
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
v1.1.0hd: b351f42cac394d0c628c1096a802956be7d57842
v1.1.0hd: a78f6caa647aca76783a7f63d0919ec2be6381a4
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #0)
> This bug represents fixes needed in Video app in order to deliver bug 881126:
> -- On master, drop the @1.5x and @2x images and make sure there is no
> more to tweak besides changes made on bug 830644.
Status: RESOLVED → REOPENED
Flags: needinfo?(johu)
Resolution: FIXED → ---
Thanks.

I create another patch for master.
Flags: needinfo?(johu)
Attachment #771143 - Flags: review?(rexboy)
Comment on attachment 771143 [details]
new icons form patryk for 1.1hd

Because patryk gives us new icons, this patch replaces the correct icons or adds missing icons.
Attachment #771143 - Attachment description: new icons form patryk → new icons form patryk for 1.1hd
Follow up bugs about missing icon: bug 890139
Attached file patch for master
Hi Dale, 

This patch is for master branch. I did the following things:
1. add 1.5x images
2. remove useless 2x images, btn_pause_off, btn_pause_press, btn_play_off, btn_pause_press.
3. change css settings, most of them are background-size and px to rem.
Attachment #771154 - Flags: review?(rexboy)
Attachment #771154 - Flags: review?(dale)
Attachment #771143 - Flags: review?(rexboy) → review+
Comment on attachment 771154 [details]
patch for master

Looks good to me. thanks!
Attachment #771154 - Flags: review?(rexboy) → review+
Attachment #771154 - Flags: review?(dale) → review+
merged to master:
https://github.com/mozilla-b2g/gaia/commit/97d72fdb7a532bb3b7970279b42b7462da1e78af
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
v1.1.0hd: b351f42cac394d0c628c1096a802956be7d57842
v1.1.0hd: a78f6caa647aca76783a7f63d0919ec2be6381a4
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: