Closed
Bug 601186
Opened 14 years ago
Closed 14 years ago
Fennec UI is unresponsive while loading home page on startup
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Firefox for Android Graveyard
General
Tracking
(fennec2.0b4+)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b4+ | --- |
People
(Reporter: mbrubeck, Assigned: cjones)
References
Details
Attachments
(2 files)
Steps to reproduce:
1. Make sure the "Start page" setting is the default "Fennec Start" (about:home)
2. Launch Fennec
3. While the throbber is still spinning in the urlbar, try to drag the page.
Expected results: Page pans.
Actual results: Nothing happens.
We should make sure that input handlers are initialized as early as possible on startup, and figure out if anything is blocking the main thread or otherwise preventing us from responding to input.
Comment 1•14 years ago
|
||
Not limited to about:home. I changed my startpage to about:firefox (with basically zero JS in the page) and we still froze until the favicon load.
Summary: Fennec UI is unresponsive while about:home is loading on startup → Fennec UI is unresponsive while loading home page on startup
Assignee | ||
Comment 2•14 years ago
|
||
Very unscientific, just broke in gdb when the spinner stopped spinning. This looks like startup cache blocking on a write flush during close().
Assignee | ||
Comment 3•14 years ago
|
||
Looks like Sync this time, "weave/toFetch/clients.json".
Assignee | ||
Comment 4•14 years ago
|
||
I caught a third one with close() at the top of the stack, but it originated from pure JS and I didn't have the patch from bug 600304 to get a JS stack.
Comment 5•14 years ago
|
||
(In reply to comment #4)
> I caught a third one with close() at the top of the stack, but it originated
> from pure JS and I didn't have the patch from bug 600304 to get a JS stack.
Can we not just use functiontimer logs instead of blind debugging?
Assignee | ||
Comment 6•14 years ago
|
||
Of course we can. I was shotgun profiling to see if anything glaringly obvious showed up.
Updated•14 years ago
|
tracking-fennec: --- → ?
Comment 7•14 years ago
|
||
The patch in bug 593349 should help with this by batching more writes together and pushing them off until later. We do want to move the write off the main thread eventually, though (bug 586859).
Comment 8•14 years ago
|
||
Bug 600815 landed a patch that should remove all Weave access during home page loading. Unfortunately, we still see unresponsive panning during the load.
This points to something else causing the problem.
Updated•14 years ago
|
tracking-fennec: ? → 2.0+
Comment 10•14 years ago
|
||
1. Is it surprising that the UI would lock up during loading of a local page? It should block just like desktop Firefox does.
2. The unresponsiveness is brief, around 1-2 seconds on a Galaxy S, and things happen on the screen meanwhile, so I'm not sure users would be surprised that it won't be fully responsive at that point.
Comment 11•14 years ago
|
||
I see this on nightly builds and it's a huge deal... I keep thinking that Firefox is hung, when it's just taking a ridiculously long time to render the page. It takes 5-10 seconds, sometimes more for me on an N1. The time is probably related to the size of my synced bookmarks/history, which is pretty large.
Ah ha! I thought that this had been fixed, but I bet it was when I blew away my history in the wrong profile and didn't notice until the sync had completed the next day.
Updated•14 years ago
|
tracking-fennec: 2.0+ → 2.0b4+
Priority: -- → P2
Comment 13•14 years ago
|
||
I looked at this a while back, and my profiling pointed the finger at places. Let's see if the work to get places and sync off the main thread lands.
Comment 14•14 years ago
|
||
Bug 617859 removed NSS startup/initialization from the home page. It has a dramatic affect. So much so that I am marking this FIXED.
Reopen if you still find the page unresponsive
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 15•14 years ago
|
||
verified FIXED on build:
Mozilla/5.0 (Android; Linux armv71; rv:2.0b9pre) Gecko/20101227 Namoroka/4.0b9pre Fennec/4.0b4pre
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Assignee: nobody → jones.chris.g
You need to log in
before you can comment on or make changes to this bug.
Description
•