User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0
Build ID: 20120822094317
Steps to reproduce:
Address bas is not selected (no cursor).
Happens with about:blank and about:newtab.
The address bar should be selected by default.
Author: Dão Gottwald <firstname.lastname@example.org>
Date: Tue Aug 21 15:53:39 2012 +0200
Bug 783103 - Avoid layout flush from isElementVisible when attempting to focus the URL bar or search bar. r=enn
Created attachment 654180 [details] [diff] [review]
I couldn't reproduce this bug with my default profiles on Windows and Linux, but I can reproduce it with a new profile on Linux. delayedStartup appears to be racing with the initial window being focused, and gURLBar.focused will only be true once the window is focused.
Comment on attachment 654180 [details] [diff] [review]
Seems ok, as long as the extra call to mouseoverToggle and select() is acceptable.
(In reply to Neil Deakin from comment #3)
> Comment on attachment 654180 [details] [diff] [review]
> Seems ok, as long as the extra call to mouseoverToggle and select() is
FullScreen.mouseoverToggle will only be called when starting up in fullscreen mode, and return early because the fullscreen UI isn't set up at that point. select() can be avoided if deemed worthwhile, see bug 783064 comment 1.