Closed
Bug 1076613
Opened 11 years ago
Closed 11 years ago
Separate the homescreen related thing from appwindowmanager as homescreenwindowmanager
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(b2g-v2.1 fixed, b2g-v2.2 fixed)
RESOLVED
FIXED
2.1 S7 (24Oct)
People
(Reporter: johnhu, Assigned: johnhu)
References
Details
(Whiteboard: [ft:conndevices])
Attachments
(2 files, 1 obsolete file)
To finish Bug #1074040, we have to support multiple homescreen app in current appwindowmanager. We should separate the homescreenwindowmanager from appwindowmanager and let it be aware of which homescreen app should be launched. So, the multiple homescreen app will be encapsulated in homescreenwindowmanager.
In bug 1074040, we will create another homescreen launcher and homescreenwindowmanager for TV and use build script to swap it at build time. This TV homescreenwindowmanager dynamic loads the second homescreen launcher and determine which homescreen app should be shown based on the event type and current active homescreen.
| Assignee | ||
Comment 1•11 years ago
|
||
Sorry, I shift the feedback flag from bug 1074040 here. The PR is totally the same.
Attachment #8498616 -
Flags: feedback?(alive)
Comment 2•11 years ago
|
||
Comment on attachment 8498616 [details] [review]
HomescreenWindowManager for phone (shifted from bug 1074040)
LGTM!
Attachment #8498616 -
Flags: feedback?(alive) → feedback+
| Assignee | ||
Comment 3•11 years ago
|
||
The patch is ready but not sure about TBPL result. Wait for result before setting review.
Attachment #8498616 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8498784 [details] [review]
HomescreenWindowManager for phone, test included.
Hi Alive,
Please review this patch. The changes in system/js/ are almost the same, except the one we found at gij, the logic of getActiveApp(). The TPBL gives almost green but one intermittent error. I feel that may be fine. Please review this patch and give me some feedback. Thanks.
Attachment #8498784 -
Flags: review?(alive)
Comment 5•11 years ago
|
||
Comment on attachment 8498784 [details] [review]
HomescreenWindowManager for phone, test included.
I think this is fine it no test is broken; much thanks to take your time on refactoring requested by me, great done!
Attachment #8498784 -
Flags: review?(alive) → review+
| Assignee | ||
Comment 6•11 years ago
|
||
merged to master:
https://github.com/mozilla-b2g/gaia/commit/bec2d31f589fbf0adaf43811214acf86207344ba
Thank you alive. This is a good start. We may follow similar path in the future if we need to extend system app.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 7•11 years ago
|
||
Comment on attachment 8498784 [details] [review]
HomescreenWindowManager for phone, test included.
Needs a branch patch but its a very minor conflict
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Originally broken implementation
[User impact] if declined: Extremely slow transition to homescreen from landscape orientated app, this is a blocker in https://bugzilla.mozilla.org/show_bug.cgi?id=1072531
[Testing completed]: Patch looks to have a good amount of unit testing, and has settled on master
[Risk to taking this patch] (and alternatives if risky):
[String changes made]:
Attachment #8498784 -
Flags: approval-gaia-v2.1?
Updated•11 years ago
|
Attachment #8498784 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Comment 8•11 years ago
|
||
Pushed to try
John, before I uplift is there anything else I should worry about / changes that this may effect?
Flags: needinfo?(im)
| Assignee | ||
Comment 11•11 years ago
|
||
Please also uplift Bug 1078193. Bug 1078193 changes the sequence of event listener and this makes the interception of homescreen app launch[1] work. Although we don't have a way to launch verticalhome currently, Bug 1078193 may help us when we have a homescreen which is able to launch or with system message.
[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/homescreen_window_manager.js#L77-L84
Flags: needinfo?(im)
| Assignee | ||
Comment 12•11 years ago
|
||
Change milestone for tracking the issues related to connected device.
Target Milestone: --- → 2.1 S7 (24Oct)
Comment 13•11 years ago
|
||
(In reply to John Hu [:johnhu][:johu][:醬糊小弟] from comment #11)
> Please also uplift Bug 1078193.
You'll need to request approval in that bug if you want it uplifted.
Comment 14•11 years ago
|
||
Didnt mean to take this off needinfo, have the branch patch but not landing until 2.1 is green
Updated•11 years ago
|
Flags: needinfo?(dale)
Updated•11 years ago
|
Whiteboard: [ft:conndevices]
Comment 15•11 years ago
|
||
Flags: needinfo?(dale)
Comment 16•11 years ago
|
||
Finally for a try run that was intermittent but had all suites green https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=e122a00ac717
John if you are wanting the other patch uplifted as well you should ask for approval seperately as it looks like that only effects the ordering in which you can replace the homescreen right?
Flags: needinfo?(im)
Keywords: checkin-needed
Comment 17•11 years ago
|
||
| Assignee | ||
Comment 18•11 years ago
|
||
Thanks Dale, I will do that. And yes, it wants to prevent user to launch another homescreen app instance.
Flags: needinfo?(im)
You need to log in
before you can comment on or make changes to this bug.
Description
•