Closed Bug 1021068 Opened 11 years ago Closed 11 years ago

Support new vertical homescreen

Categories

(Testing Graveyard :: Eideticker, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davehunt, Assigned: davehunt)

References

Details

Attachments

(1 file)

A new 'vertical' homescreen has landed in Firefox OS, which breaks Eideticker in several places. A few of these will be taken care of by bug 1019891 and a subsequent gaiatest release (that Eideticker will need to depend on for testing latest mozilla-central builds), however there will also need to be some changes in Eideticker itself. The code to start B2G includes a wait, which is not compatible with the new homescreen. If we can, we should use GaiaDevice.start_b2g, which handles the new homescreen. Alternatively, we should update the wait to be compatible. The code to look for app icons is heavily dependent on the homescreen code. There's no longer a dock or 'pages', and all icons are shown in a scrolling list. We therefore need to scroll the appropriate icon into view and then work out the location as an offset of the viewable area.
Blocks: 1059697
It looks like our workaround to continue using the old homescreen may not be supported any longer. I have a working patch to update to the new vertical homescreen, so I'll get something up for review soon.
This turned out to be a bit easier than I expected. I'm hoping this will fix the current failures in CI.
Assignee: nobody → dave.hunt
Status: NEW → ASSIGNED
Attachment #8500011 - Flags: review?(wlachance)
Blocks: 1069477
Comment on attachment 8500011 [details] [review] Link to Github pull-request: https://github.com/mozilla/eideticker/pull/12 Looks good, does it work ok on 2.0?
Attachment #8500011 - Flags: review?(wlachance) → review+
(In reply to William Lachance (:wlach) from comment #3) > Comment on attachment 8500011 [details] [review] > Link to Github pull-request: https://github.com/mozilla/eideticker/pull/12 > > Looks good, does it work ok on 2.0? Thanks for prompting me to check this! It does work but I needed to bump the version number for gaiatest-v2.0 to 0.3 and release. This included a small change to the JavaScript for killing apps, which failed when we had the vertical homescreen in use. I've now landed the fix to use vertical homescreen: https://github.com/mozilla/eideticker/commit/acde0e1ffeb21076d6fbc70df347720fc71b69eb Note that this does break compatibility for v1.3, however we're not currently running any tests on this version. If we need to restore support for this version then it can be done, however I suspect it makes more sense to drop support for v1.3 and remove the associated code. What do you think Will? I'm going to leave this open until I see some passing results. Setting a needinfo for myself.
Flags: needinfo?(wlachance)
Flags: needinfo?(dave.hunt)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(dave.hunt)
Resolution: --- → FIXED
I absolutely think we should drop 1.3, there's very little chance we'll want to use eideticker with that branch again.
Flags: needinfo?(wlachance)
(In reply to William Lachance (:wlach) from comment #6) > I absolutely think we should drop 1.3, there's very little chance we'll want > to use eideticker with that branch again. I've raised bug 1079132 for this.
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: