Closed Bug 922462 Opened 11 years ago Closed 11 years ago

[Flatfish] Define various size of icons in manifest instead of use buildscript

Categories

(Firefox OS Graveyard :: Gaia, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+, b2g-v1.2 fixed)

RESOLVED FIXED
blocking-b2g koi+
Tracking Status
b2g-v1.2 --- fixed

People

(Reporter: gasolin, Assigned: gduan)

References

Details

(Whiteboard: [Flatfish only])

Attachments

(1 file, 1 obsolete file)

Current we use GAIA_DEV_PIXELS_PER_PX=1.5 to customize resources. To get better icon quality for homescreen.

We should define various size of icons in manifest instead of use buildscript.
Blocks: flatfish
blocking-b2g: --- → koi?
Summary: Define various size of icons in manifest instead of use buildscript → [Flatfish] Define various size of icons in manifest instead of use buildscript
Assignee: nobody → gasolin
Attached file PR to master (obsolete) —
Hi Christian,

Could you help to review this patch?
Thanks.
Attachment #812545 - Flags: review?(crdlc)
The code of home was reviewed and you have two comments
BTW my name is Cristian jijijiji
Status: NEW → ASSIGNED
George, please check shared/resources/branding/official/90/Browser.png , I think subfolder under official/unofficial might not work

Since our buildscript (gaia/build/webapp-optimize.js / gaia/build/webapp-zip.js) may not accept subfolders
Assignee: gasolin → gduan
blocking-b2g: koi? → koi+
Comment on attachment 812545 [details]
PR to master

Talked to George offline. Please flag me and :crdlc for review when you fixed the patch.
Attachment #812545 - Flags: review?(crdlc)
Comment on attachment 812545 [details]
PR to master

Thanks Tim and Critian to address my pbs.

Patch is updated, please kindly check again.
Attachment #812545 - Flags: review?(timdream)
Attachment #812545 - Flags: review?(crdlc)
Comment on attachment 812545 [details]
PR to master

I have one comment about the name of the variable in homescreen part. It looks good, thx
Attachment #812545 - Flags: review?(crdlc) → review+
Comment on attachment 812545 [details]
PR to master

Thank you!
Attachment #812545 - Flags: review?(timdream) → review+
Thanks Tim and Cristian!

Merge into master,
https://github.com/mozilla-b2g/gaia/commit/3c3eda6d93d7329f437b71d03c3d28353f1f3d4c
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Please back out, try to do 'make reset-gaia'. I think it was introduced here, am I wrong?

run-js-command  webapp-zip
Exception: Error: Using inexistent shared resource: branding/Browser.png from: system.gaiamobile.org

execute/</<@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/evyatar/workspace/gaia/build/webapp-zip.js:443
execute/<@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/evyatar/workspace/gaia/build/webapp-zip.js:431
makeWebappsObject/<.forEach/<@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/evyatar/workspace/gaia/build/utils.js:179
makeWebappsObject/<.forEach@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/evyatar/workspace/gaia/build/utils.js:121
execute@resource://gre/modules/commonjs/toolkit/loader.js -> file:///home/evyatar/workspace/gaia/build/webapp-zip.js:245
Yes, I'll fix that and push again later.

Backout from master,

https://github.com/mozilla-b2g/gaia/commit/1c2a4942f39c056868d4247c21ddae8e53d0d660
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached file PR to master
Hi,

this patch has 
1. updated the prefer size of tablet to 100px (actual display size is 100px) and 
2. fixed bg-overlay's height to correct size on tablet.
3. Browser.png to Browser_60.png
Attachment #812545 - Attachment is obsolete: true
Attachment #813063 - Flags: review?(timdream)
Attachment #813063 - Flags: review?(crdlc)
Attachment #813063 - Flags: review?(timdream) → review+
Comment on attachment 813063 [details]
PR to master

ok, thx
Attachment #813063 - Flags: review?(crdlc) → review+
Remember to watch the status _before_ landing we still need to do this manually but in the future it will be impossible to land in situations like this.
Flags: needinfo?(gduan)
Whiteboard: [Flatfish only]
Thanks for Tim and Cristian's reviewing and James' reminding!

Merge into master,
https://github.com/mozilla-b2g/gaia/commit/55831f0c53a01c446211819298a1ba7f29dcc786
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Flags: needinfo?(gduan)
Resolution: --- → FIXED
The icon will become bigger than before now,
because below code ( bug 866174 https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/window_manager.js#L1176 ) will always display the largest one.
Depends on: 923672
This caused a placeholder icon to appear for the clock instead of an actual icon on the 1.3 build right now. We need to either back this out to resolve bug 923672 or patch bug 923672 before uplifting this.
Whiteboard: [Flatfish only] → [Flatfish only][NO_UPLIFT]
Depends on: 926281
No longer depends on: 926281
Depends on: 930386
Whiteboard: [Flatfish only][NO_UPLIFT] → [Flatfish only]
Uplifted 55831f0c53a01c446211819298a1ba7f29dcc786 to:
v1.2: 6edf487b98ddefe7ed71cde4a05e54d103fbc46c
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: