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)
Tracking
(blocking-b2g:koi+, 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.
Reporter | ||
Updated•11 years ago
|
blocking-b2g: --- → koi?
Reporter | ||
Updated•11 years ago
|
Summary: Define various size of icons in manifest instead of use buildscript → [Flatfish] Define various size of icons in manifest instead of use buildscript
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → gasolin
Assignee | ||
Comment 1•11 years ago
|
||
Hi Christian, Could you help to review this patch? Thanks.
Attachment #812545 -
Flags: review?(crdlc)
Comment 2•11 years ago
|
||
The code of home was reviewed and you have two comments
Reporter | ||
Comment 4•11 years ago
|
||
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
Reporter | ||
Updated•11 years ago
|
Assignee: gasolin → gduan
Updated•11 years ago
|
blocking-b2g: koi? → koi+
Comment 5•11 years ago
|
||
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)
Assignee | ||
Comment 6•11 years ago
|
||
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 7•11 years ago
|
||
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 8•11 years ago
|
||
Comment on attachment 812545 [details]
PR to master
Thank you!
Attachment #812545 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Thanks Tim and Cristian! Merge into master, https://github.com/mozilla-b2g/gaia/commit/3c3eda6d93d7329f437b71d03c3d28353f1f3d4c
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 10•11 years ago
|
||
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
Assignee | ||
Comment 11•11 years ago
|
||
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 → ---
Assignee | ||
Comment 12•11 years ago
|
||
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)
Updated•11 years ago
|
Attachment #813063 -
Flags: review?(timdream) → review+
Comment 13•11 years ago
|
||
Comment on attachment 813063 [details]
PR to master
ok, thx
Attachment #813063 -
Flags: review?(crdlc) → review+
Comment 14•11 years ago
|
||
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)
Updated•11 years ago
|
Whiteboard: [Flatfish only]
Assignee | ||
Comment 15•11 years ago
|
||
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 ago → 11 years ago
Flags: needinfo?(gduan)
Resolution: --- → FIXED
Assignee | ||
Comment 16•11 years ago
|
||
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.
Comment 17•11 years ago
|
||
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]
Updated•11 years ago
|
Whiteboard: [Flatfish only][NO_UPLIFT] → [Flatfish only]
Comment 18•11 years ago
|
||
Uplifted 55831f0c53a01c446211819298a1ba7f29dcc786 to: v1.2: 6edf487b98ddefe7ed71cde4a05e54d103fbc46c
status-b2g-v1.2:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•