Closed Bug 711746 Opened 9 years ago Closed 9 years ago

[ICS] Nightly title look-alike displayed before main UI when starting up

Categories

(Firefox for Android Graveyard :: General, defect, P1)

ARM
Android
defect

Tracking

(firefox11 affected, firefox12 affected, firefox14 verified, firefox16 verified, fennec11+)

VERIFIED FIXED
Firefox 13
Tracking Status
firefox11 --- affected
firefox12 --- affected
firefox14 --- verified
firefox16 --- verified
fennec 11+ ---

People

(Reporter: glandium, Assigned: sriram)

References

Details

Attachments

(2 files)

Attached image Screenshot
When starting nightly on ICS, something that looks like a title is displayed. See attached screenshot.
so what's the bug here?
That we don't get the full UI immediately. This feels like a splashscreen (though a fast one). So far, I've seen no other application having that. mfinkle said this was because of the actionbar.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Assignee: nobody → doug.turner
Status: RESOLVED → REOPENED
Priority: -- → P3
Resolution: INVALID → ---
Status: REOPENED → NEW
tracking-fennec: --- → 11+
i am not working on these right now.  resetting assignee.
Assignee: doug.turner → nobody
Assignee: nobody → sriram
This is a known issue on ICS. The "Action Bar" of the app is shown first and then the UI is loaded. It's not as instantaenous as in Honeycomb.
This behavior is seen even for native apps like Gmail, Books, Messaging, etc.
Status: NEW → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → WONTFIX
(In reply to Sriram Ramasubramanian [:sriram] from comment #4)
> This behavior is seen even for native apps like Gmail, Books, Messaging, etc.

... but not Chrome beta.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
@glandium: Agreed :D
The reason is that we are "inflating" our custom view in GeckoApp's onCreate() instead of Android load it from XML. For a different issue, I tried hiding the ActionBar in XML and we got around 300ms performance win.
I tried the same here -- to initialize the ActionBar in XML instead of Java. We have 2 good news:
1. the startup is faster - around same 300-500ms
2. the title is not shown when the app is loading (it's blank currently.. and I'm further optimizing the startup)
Priority: P3 → P1
Blocks: 725932
Attached patch PatchSplinter Review
The actionbar gets loaded in XML for first run. However, since we use a gradient background for actionbar, it needs to be refreshed on rotation and hence loaded in old fashion. This patch also takes care of actionbar in AwesomeBar.

TabsTray is left untouched because it was adding a small menu button on Galaxy Nexus.
Attachment #596184 - Flags: review?(mark.finkle)
Comment on attachment 596184 [details] [diff] [review]
Patch

Did you test this on Honeycomb, ICS and Gingerbread? I just want to make sure we don't have any breakage.
Attachment #596184 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/25d02871313b
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
The application icon is not present anymore at startup. 
Verified/Fixed on:
Nightly Fennec 16.0a1 (2012-06-05)
Aurora Fennec 14.0a2 (2012-06-04)
Device: Samsung Galaxy Nexus
OS: Android 4.0.2
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.