Closed
Bug 1024433
Opened 10 years ago
Closed 10 years ago
Displayed atom does not account for activityWindow
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zcampbell, Assigned: zcampbell)
References
Details
Attachments
(1 file)
The atom does not take into account activityWindow, but it can also contain an app. With a small change to the atom I think we can have it deal with these scenarios.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8439178 -
Flags: review?(dave.hunt)
Assignee | ||
Comment 2•10 years ago
|
||
Sorry Dave my original comment was a bit vague.. An app can load another app inside an activityWindow. In that case the atom returns the underlying app but that is not the one in focus to the user. This variation will return the app that's in focus to the user. This structure of this is best observed from the App Manager using a Collection installed with everything.me.
Comment 3•10 years ago
|
||
Comment on attachment 8439178 [details] [review] github pr This looks okay to me, but might be worth asking Alive to take a look too.
Attachment #8439178 -
Flags: review?(dave.hunt)
Attachment #8439178 -
Flags: review?(alive)
Attachment #8439178 -
Flags: review+
Comment 4•10 years ago
|
||
Comment on attachment 8439178 [details] [review] github pr var activeTop = app; while (activeTop.frontWindow && activeTop.frontWindow.isActive()) { activeTop = activeTop.frontWindow; } return activeTop; I guess one day I will put this in AppWindow but for now you need to manually find the active most top one.
Attachment #8439178 -
Flags: review?(alive)
Assignee | ||
Comment 5•10 years ago
|
||
Thanks Alive, superstar!
Assignee | ||
Comment 6•10 years ago
|
||
Adhoc job with Alive's change: http://selenium.qa.mtv2.mozilla.com:8080/job/b2g.flame.mozilla-central.ui.adhoc/28 (I verified the unit tests locally).
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8439178 [details] [review] github pr Modified to use Alive's snippet.
Attachment #8439178 -
Flags: review+ → review?(dave.hunt)
Updated•10 years ago
|
Attachment #8439178 -
Flags: review?(dave.hunt) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Merged: https://github.com/mozilla-b2g/gaia/commit/83392cae2c964fa6f8a97ac3fc515c3f94ef3c1c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•