Closed Bug 1045023 Opened 10 years ago Closed 10 years ago

[Vertical Homescreen] No icons on homescreen with DEBUG=1 mode on nightly take 2

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gsvelto, Assigned: gsvelto)

Details

(Keywords: regression)

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #1027555 +++

Steps to Reproduce:

1. Build Gaia with DEBUG=1 flag
2. Running Gaia on Nightly

Actual Results:
No icons appear and this error is logged to the console

JavaScript error: app://verticalhome.gaiamobile.org/js/sources/application.js, line 258: GaiaGrid is not defined

This is a different issue from bug 1027555 but it seems to be related to the fix which moved the gaia_grid shared component to after the inclusion of app.js

Expected Results:
Vertical homescreen with icons and app name

Environment Informations:
- gaia/master d9afe81149d83ce34fbb68769c5820415580f6f7
Quick fix that shuffles the sources around so that we don't hit this issue. I've also removed the verticalhomescreen from the apps-engineering.list, it was probably forgotten there when it became the default.
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Attachment #8463359 - Flags: review?(21)
This is a blocker for development given that this would prevent you from debugging the Firefox OS phone effectively, right? If so, can you nominate this to block?

Also - do you know if this is present on 2.0 as well?
Flags: needinfo?(gsvelto)
Comment on attachment 8463360 [details] [review]
[PULL REQUEST] Ensure that the GaiaGrid component is loaded before it is used

FYI - I don't mind stealing this review if you want to mark me as reviewier and clear Vivien's R?. Thanks!
Attachment #8463360 - Flags: review+
(In reply to Jason Smith [:jsmith] from comment #3)
> This is a blocker for development given that this would prevent you from
> debugging the Firefox OS phone effectively, right? If so, can you nominate
> this to block?

Debugging on the phone is fine, it's developing in the desktop browser that doesn't work because the new homescreen never starts. In fact I find it a little strange that this is working correctly on the phone; there must be something different in how the app starts up on the device.

> Also - do you know if this is present on 2.0 as well?

I'm not sure, I've been unable to get v2.0 to work from within nightly.
Flags: needinfo?(gsvelto)
Comment on attachment 8463359 [details] [diff] [review]
[PATCH] Ensure that the GaiaGrid component is loaded before it is used

(In reply to Kevin Grandon :kgrandon from comment #4)
> FYI - I don't mind stealing this review if you want to mark me as reviewier
> and clear Vivien's R?. Thanks!

Sure :)
Attachment #8463359 - Flags: review?(21)
Try was green: https://tbpl.mozilla.org/?rev=1a7a887d0dc94d259bde381f718a69b86c2814e5&tree=Gaia-Try

Pushed to gaia/master 50a8b19acde8737c61cac4ad4c33ce79d7e60127
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: