Closed Bug 640873 Opened 13 years ago Closed 13 years ago

Homepage fails to load 'No recent tabs' in new profiles

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

(Keywords: polish)

Attachments

(1 file)

Attached patch patchSplinter Review
I found this while viewing the Homepage (about:home) in a new profile. The session store backup file doesn't exist yet, so the file is never loaded, an exception is thrown and the throbber never stops spinning.

This patch adds some sanity checks and always makes sure the throbber is replaced with text. It also bumps down the scheduled delay for updating the add-on cache. 10 seconds was taking forever. Six seconds is a little better, doesn't hurt Ts and we should rarely not have the cache in normal circumstances.
Attachment #518653 - Flags: review?(mbrubeck)
Attachment #518653 - Flags: review?(mbrubeck) → review+
Looks good to land for 4.0.
Assignee: nobody → mark.finkle
Keywords: polish
OS: Linux → All
Hardware: x86_64 → All
Attachment #518653 - Flags: approval2.0?
Matt - I'm not sure how frequent this bug would appear to justify landing in Fennec 4. Granted, it is a simple fix, but I just wanted to know more rationale.
(In reply to comment #2)
> Matt - I'm not sure how frequent this bug would appear to justify landing in
> Fennec 4. Granted, it is a simple fix, but I just wanted to know more
> rationale.

Oh - I was under the impression this was happening every time about:home was loading in a new profile.  If it's rare, then we can probably wait to land it.  (But if you happened to see it while testing a new profile, it does seem likely that some number of users are seeing it too.)
(In reply to comment #3)
> (In reply to comment #2)
> > Matt - I'm not sure how frequent this bug would appear to justify landing in
> > Fennec 4. Granted, it is a simple fix, but I just wanted to know more
> > rationale.
> 
> Oh - I was under the impression this was happening every time about:home was
> loading in a new profile.  If it's rare, then we can probably wait to land it. 
> (But if you happened to see it while testing a new profile, it does seem likely
> that some number of users are seeing it too.)

If the user hits about:home in a new install they'll see this. That might be common. I need to check to see how long it takes the add-on background process to create the cache. Once it's created, this isn't a problem.
Attachment #518653 - Flags: approval2.0? → approval2.0+
Comment on attachment 518653 [details] [diff] [review]
patch

low risk.  first impressions without this sort of suck.
Attachment #518653 - Flags: approval2.0+ → approval2.0?
If you press the big "Browse" button on about:firstrun, then you get an about:home page with a loading spinner (in the tabs section) that never goes away.  This is especially bad because about:home stays open in its own tab as you open other pages, so users will keep seeing it for the rest of that first browsing session.
pushed:
http://hg.mozilla.org/mobile-browser/rev/6b93fd7423c4
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Verified:

Mozilla/5.0 (Android; Linux armv71; rv2.0b13pre) Gecko/20110317
Firefox/4.0b13pre Fennec/4.0b6pre
Status: RESOLVED → VERIFIED
Attachment #518653 - Flags: approval2.0?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: