Closed
Bug 784621
Opened 12 years ago
Closed 12 years ago
Empty address bar isn't always focused after startup
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
Firefox 17
People
(Reporter: octoploid, Assigned: dao)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.83 KB,
patch
|
enndeakin
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 Build ID: 20120822094317 Steps to reproduce: Start Firefox Actual results: Address bas is not selected (no cursor). Happens with about:blank and about:newtab. Expected results: The address bar should be selected by default.
Started with: commit 5f387a38960ae207462848cf0f2bbf20775abfa5 Author: Dão Gottwald <dao@mozilla.com> 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
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 2•12 years ago
|
||
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.
Assignee: nobody → dao
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #654180 -
Flags: review?(enndeakin)
Assignee | ||
Updated•12 years ago
|
Summary: Address bar not selected after startup → Empty address bar isn't always focused after startup
Comment 3•12 years ago
|
||
Comment on attachment 654180 [details] [diff] [review] patch Seems ok, as long as the extra call to mouseoverToggle and select() is acceptable.
Attachment #654180 -
Flags: review?(enndeakin) → review+
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Neil Deakin from comment #3) > Comment on attachment 654180 [details] [diff] [review] > patch > > Seems ok, as long as the extra call to mouseoverToggle and select() is > acceptable. 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.
Assignee | ||
Comment 5•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/3ded80c6a2da
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3ded80c6a2da
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
You need to log in
before you can comment on or make changes to this bug.
Description
•