Last Comment Bug 791106 - With fresh profile, flashes between displaying "about:home" and "Enter Search or Address" in URL bar on startup
: With fresh profile, flashes between displaying "about:home" and "Enter Search...
Status: NEW
ui-responsiveness
:
Product: Fennec Graveyard
Classification: Graveyard
Component: General (show other bugs)
: Trunk
: x86_64 Linux
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-13 15:03 PDT by William Lachance (:wlach)
Modified: 2012-09-24 13:13 PDT (History)
5 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description William Lachance (:wlach) 2012-09-13 15:03:51 PDT
So this is very obvious with the new eideticker startup tests. When you start fennec without a URL, the url bar seems to flash between displaying "about:home" and "Enter Search or Address". From the POV of a user, I think we ought to just display "Enter Search or Address", without the intermediary step.

Example of current behaviour:

http://wrla.ch/eideticker/dashboard/videos/video-1347572002.11.webm
Comment 1 Mark Finkle (:mfinkle) (use needinfo?) 2012-09-14 07:34:39 PDT
I tested Nightly, app was not running and I tapped the homescreen icon, on my Galaxy Nexus. I did not see "about:home" appear. We even have code to ignore any title changes if the title is "about:home":

http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/BrowserToolbar.java#572

The favicon did change from default to firefox. I think the favicon changes because the about:home favicon is specified in the HTML using a <link> tag. Tis means we need to wait for gecko to load, and load that content, before we get the message to change the favicon.

I think Wes had a patch at one time to do the about:home favicon on the Java side.
Comment 2 William Lachance (:wlach) 2012-09-14 08:02:19 PDT
(In reply to Mark Finkle (:mfinkle) from comment #1)
> I tested Nightly, app was not running and I tapped the homescreen icon, on
> my Galaxy Nexus. I did not see "about:home" appear. We even have code to
> ignore any title changes if the title is "about:home":
> 
> http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/
> BrowserToolbar.java#572
> 
> The favicon did change from default to firefox. I think the favicon changes
> because the about:home favicon is specified in the HTML using a <link> tag.
> Tis means we need to wait for gecko to load, and load that content, before
> we get the message to change the favicon.
> 
> I think Wes had a patch at one time to do the about:home favicon on the Java
> side.

Ah, I think this might only be happening because the test is running from a blank profile. So this would likely happen on first run, but not any other time.

Note You need to log in before you can comment on or make changes to this bug.