Closed
Bug 1212784
Opened 11 years ago
Closed 10 years ago
Do not screenshot the homescreen when an app is launched
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
FxOS-S10 (30Oct)
| Tracking | Status | |
|---|---|---|
| b2g-master | --- | fixed |
People
(Reporter: vnicolas, Assigned: vnicolas)
Details
Attachments
(1 file, 3 obsolete files)
I know there are plans to show the homescreen in the card view one day. But so far it is not displayed there and the system app keeps creating a screenshot which ends up competing for resources (memory and cpu) during app launch.
The proposed patch removed the screenshot. I believe that once we want to have the homescreen visible in the card view we should use our new ability to keep layer tree alive instead of forcing a screenshot. This may need a few platform tweaks but that should be much more efficient.
Attachment #8671270 -
Flags: review?(etienne)
Attachment #8671270 -
Attachment is obsolete: true
Attachment #8671270 -
Flags: review?(etienne)
Attachment #8672559 -
Flags: review?(etienne)
Comment 2•11 years ago
|
||
Comment on attachment 8672559 [details] [diff] [review]
no.screenshot.for.homescreen.patch
Review of attachment 8672559 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with comment addressed :)
::: apps/system/js/app_window.js
@@ +2107,5 @@
> this._hideScreenshotOverlay();
> };
>
> AppWindow.prototype._handle__closed = function aw_closed() {
> + if (!this.loaded || this.isHomescreen ||
When there's no inline activities, |this.getBottomMostWindow() == this|
so we can simplify the condifition to |!this.loaded || this.getBottomMostWindow().isHomescreen|
Attachment #8672559 -
Flags: review?(etienne) → review+
Oh right. This is purely my bad. I thought it was not working as you said, because the test was failing when I did that. But finally it was my bad, I set |app1.rearWindow = app2| in the test...
Comment 5•10 years ago
|
||
Comment on attachment 8672579 [details] [diff] [review]
no.screenshot.for.homescreen.patch
Carrying, r+.
Attachment #8672579 -
Flags: review+
Comment on attachment 8678848 [details] [review]
[gaia] vingtetun:no.screenshot.for.homescreen > mozilla-b2g:master
I mean carrying r+ here...
Attachment #8678848 -
Flags: review+
Attachment #8672579 -
Attachment is obsolete: true
Attachment #8672559 -
Attachment is obsolete: true
Assignee: nobody → vnicolas
Keywords: checkin-needed
Comment 8•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-master:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S10 (30Oct)
You need to log in
before you can comment on or make changes to this bug.
Description
•