Closed
Bug 960325
Opened 11 years ago
Closed 11 years ago
Move Background into Homescreen App
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect, P1)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
1.4 S2 (28feb)
People
(Reporter: mchang, Assigned: mchang)
References
Details
(Keywords: perf, Whiteboard: [c=handeye p=4 s= u=])
Attachments
(6 files, 4 obsolete files)
Move the background image into the homescreen app and out of the system app. This is so we see the background due to some platform optimizations.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Video of bug w/ this patch and bug 917416 to gecko. We see a black screen where the keyboard was for a split second.
Assignee | ||
Comment 3•11 years ago
|
||
Might be related to bug 942750
Assignee | ||
Comment 4•11 years ago
|
||
Still occurs w/o APZ
Assignee | ||
Updated•11 years ago
|
Priority: -- → P1
Assignee | ||
Updated•11 years ago
|
Whiteboard: [c=handeye p=3 s= u=] → [c=handeye p=1 s= u=]
Assignee | ||
Comment 5•11 years ago
|
||
Large amount of overpainting if we move the background into the homescreen app.
Assignee | ||
Comment 6•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Summary: Move Background into Homescreen App → Moving Background into Homescreen App Causes Numerous Layers
Whiteboard: [c=handeye p=1 s= u=] → [c=handeye p=4 s= u=]
Assignee | ||
Comment 7•11 years ago
|
||
Interestingly, we don't explode the layer tree until after we pan to another homescreen.
Assignee | ||
Comment 8•11 years ago
|
||
We should be able to save 2 layers if we clean up dead thebes layers.
Assignee | ||
Comment 9•11 years ago
|
||
I was able to modify the css and reduce the homescreen overpainting. We still have 1 extra layer that is 1 pixel somewhere. But the changes + the optimizing the parent layer in bug 917416 puts us back to where we started with the original layer tree.
Attachment #8368997 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Summary: Moving Background into Homescreen App Causes Numerous Layers → Move Background into Homescreen App
Assignee | ||
Comment 10•11 years ago
|
||
Hello! We need to move the homescreen background into the homescreen app so we can optimize Gecko in bug 917416. If you could please review, I'd appreciate it. Thanks!
Attachment #8369579 -
Flags: review?(alive)
Comment 11•11 years ago
|
||
What's the purpose? Does this mean we couldn't have transparent background anymore?
Flags: needinfo?(mchang)
Assignee | ||
Comment 12•11 years ago
|
||
We need to move the homescreen background into the homescreen app because we were always drawing the background even when other apps were painted over it. I don't think we can have a transparent background, but we couldn't before either. If it is in the system app, and the background is transparent, we would see what was behind it, which was just black. The effect would be the same whether the background was in the system app or homescreen app. Does that answer your question? Thanks!
Flags: needinfo?(alive)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(mchang)
Comment 14•11 years ago
|
||
Comment on attachment 8369579 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/15919
I could r+ for this concept but need Christian's feedback on homescreen app part.
Attachment #8369579 -
Flags: review?(crdlc)
Attachment #8369579 -
Flags: review?(alive)
Attachment #8369579 -
Flags: review+
Comment 15•11 years ago
|
||
Comment on attachment 8369579 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/15919
Hi,
I have some important comments from my point of view in Github. When they are addressed/answered please ask me again for a review
Thanks a lot
Attachment #8369579 -
Flags: review?(crdlc)
Assignee | ||
Comment 16•11 years ago
|
||
Thanks for the feedback. I implemented your comments, please take another look. Thanks.
Attachment #8369579 -
Attachment is obsolete: true
Attachment #8372822 -
Flags: review?(crdlc)
Assignee | ||
Updated•11 years ago
|
Attachment #8372822 -
Attachment is patch: true
Attachment #8372822 -
Attachment mime type: text/x-github-pull-request → text/plain
Comment 17•11 years ago
|
||
Comment on attachment 8372822 [details] [diff] [review]
https://github.com/mozilla-b2g/gaia/pull/16098
Hi, good job, looks good to me although there are still some details. Basically quick changes :) After addressing them, please ask me again for a review in order to put a R+
Thanks a lot
Attachment #8372822 -
Flags: review?(crdlc)
Assignee | ||
Comment 18•11 years ago
|
||
Comment on attachment 8372822 [details] [diff] [review]
https://github.com/mozilla-b2g/gaia/pull/16098
Thanks for the feedback. Hopefully the last review!
Attachment #8372822 -
Flags: review?(crdlc)
Comment 19•11 years ago
|
||
Comment on attachment 8372822 [details] [diff] [review]
https://github.com/mozilla-b2g/gaia/pull/16098
Perfect!! Good job, thanks a lot, r+
Attachment #8372822 -
Flags: review?(crdlc) → review+
Assignee | ||
Comment 20•11 years ago
|
||
Thanks for the review! Carrying r+ over.
Attachment #8360753 -
Attachment is obsolete: true
Attachment #8372822 -
Attachment is obsolete: true
Attachment #8373235 -
Flags: review+
Comment 21•11 years ago
|
||
I think we still needs to paint background in system app "only" when the homescreen is not loaded yet.
Otherwise if homescreen app is killed by OOM killer and the user returns to homescreen, he will see the 'black' or 'white' background which is very bad.
I am going to file a followup bug inside window management to fix this.
Assignee | ||
Comment 22•11 years ago
|
||
Landed gaia master: 7540b00be89b65b180817564dfb4b8a0701179ca
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 23•11 years ago
|
||
Backed out on gaia master - 588cfa86532ce38af02182926e4129400232c2e1.
See bug 917416.
Resolution: FIXED → WORKSFORME
Updated•11 years ago
|
Target Milestone: 1.3 C2/1.4 S2(17jan) → 1.4 S2 (28feb)
You need to log in
before you can comment on or make changes to this bug.
Description
•