Closed Bug 791106 Opened 12 years ago Closed 5 years ago

With fresh profile, flashes between displaying "about:home" and "Enter Search or Address" in URL bar on startup

Categories

(Firefox for Android Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: wlach, Unassigned)

Details

(Whiteboard: ui-responsiveness)

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
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.
(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.
Summary: 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 or Address" in URL bar on startup
Whiteboard: ui-responsiveness
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.