Closed Bug 1007121 Opened 10 years ago Closed 10 years ago

Building with HAIDA=1 doesn't guarantee that home2 is installed or selected

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1009111

People

(Reporter: cwiiis, Assigned: daleharvey)

Details

Attachments

(1 file)

If you build with HAIDA=1 to enable the rocketbar, home2 isn't necessarily installed (for example, if you're building with GAIA_APP_TARGET=production) - this means that you're stuck with a home-screen that is partially obscured by the rocketbar.

I think that Haida should at least guarantee that home2 is installed, if not even selected as the default homescreen when HOMESCREEN isn't explicitly set.
So they are somewhat conflated, the partially obscured homescreen is just a bug in the rocketbar implementation, it needs to be compatible with both homescreens

But I do think HAIDA=1 should enable home2 by default
https://bugzilla.mozilla.org/show_bug.cgi?id=995021 is tracking the rocketbar fix
This makes sure the home2 app gets installed

Kevin how would I set it on by default, |HOMESCREEN=app://home2.gaiamobile.org make reset-gaia| on a plain build throws an error
Assignee: nobody → dale
Attachment #8420521 - Flags: feedback?(yurenju.mozilla)
Flags: needinfo?(kgrandon)
Hmm, I am not sure off the top of my head what that flag does. I know this works for me if I place this in custom-settings.json though:

"homescreen.manifestURL": "app://home2.gaiamobile.org/manifest.webapp"
Flags: needinfo?(kgrandon)
Comment on attachment 8420521 [details]
https://github.com/daleharvey/gaia/commit/ceef1309dde61f4693709a338d98d4e1b8ef0228

Updated the patch to set the home2 as the default homescreen

I believe HOMESCREEN= is broken, http://mxr.mozilla.org/gaia/source/build/preferences.js#26 is the only place that uses it, and cant really understand how that logic is correct, happy to file a new issue and remove it if thats true
Attachment #8420521 - Flags: feedback?(yurenju.mozilla) → review?(yurenju.mozilla)
HOMESCREEN isn't used for setting homescreen app, it's used for system app (we have bug 952373 for it)
Dale, I'm working on refactoring the magic part[1] in Makefile for generating GAIA_APPDIRS and rewrite it in javascript on bug 997004 which target milestone is 2.0S2 (May, 23)

after that bug landed, it should be pretty easy to add home2 if HAIDA=1. can we wait bug 997004 landed? or this bug is critical that we need to land your commit first?

[1] https://github.com/mozilla-b2g/gaia/blob/de1c755411949b50ae395b42e124af215ed9b702/Makefile#L357-L377
Flags: needinfo?(dale)
Comment on attachment 8420521 [details]
https://github.com/daleharvey/gaia/commit/ceef1309dde61f4693709a338d98d4e1b8ef0228

Since the build is being rewritten, and vertical homescreen is to be enabled by default shortly, will close as a dupe
Attachment #8420521 - Flags: review?(yurenju.mozilla)
Flags: needinfo?(dale)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: