Closed Bug 535970 Opened 15 years ago Closed 15 years ago

Url bar steals focus from web based search pages.

Categories

(Firefox :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: forfun93, Unassigned)

References

Details

(Keywords: dev-doc-complete, regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091213 Firefox/3.5.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091213 Firefox/3.5.5

When you set a search engine as your home page and open a new tab the URL bar will keep focus.

This is very annoying as it requires you to click the search box manually and defeats the object of Google's new minimalistic page.

Regression of https://bugzilla.mozilla.org/show_bug.cgi?id=125282

Reproducible: Always

Steps to Reproduce:
1.Set Google as you home page
2.Open new tab
3.Start typing
Actual Results:  
Url bar has focus and you start typing in there.

Expected Results:  
The search engine box should have focus.

My first bug so if I haven't done it correctly someone else can make one and I will delete this one.
This only happens when you open a new tab. Clicking home does not reproduce this. Does anyone else find this a problem?
Blocks: 125282
Keywords: regression
When I open new tab by both Ctrl+T and Clicking the "Open a new tab" button, Fx opens a blank page. How did you open a new tab in step 2?
You raise a good point actually. I use ctrl+t or by double clicking. However I have an add-on that opens my home page when I open a tab. (new tab homepage). Would this still be a firefox bug as clicking home and loading home via a new tab gives different results. Or is it something that can be fixed via add-on.

Sorry I am discovering thins as I go on here.
I think that the add-on doesn't set focus to the new tab's content when it loads the homepage. So, this is just a compatibility issue between Fx3.6 and trunk.

> Sorry I am discovering thins as I go on here.

no problem.
(In reply to comment #4)
> I think that the add-on doesn't set focus to the new tab's content when it
> loads the homepage. So, this is just a compatibility issue between Fx3.6 and
> trunk.
> 
> > Sorry I am discovering thins as I go on here.
> 
> no problem.

Ok then. I assumed it was a firefox issue as it was a regression of the bug I linked. I will get in contact with the developer as that seems the necessary route to take. Thanks for your help.
ok, I can reproduce this bug with
https://addons.mozilla.org/en-US/firefox/addon/777

I contacted to the author and CCed you.
This behaviour also occurs with Tab Mix Plus, when it is set to open the homepage when a new tab is opened.
Ok thanks for all your help.
(In reply to comment #7)
> This behaviour also occurs with Tab Mix Plus, when it is set to open the
> homepage when a new tab is opened.

I emailed and CCed you, thanks.
if this is an odd-on problem, please resolve this bug as invalid
It's not one, but two, add-ons.
-> INVA
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Probably, we should document this issue to MDC...
Keywords: dev-doc-needed
I contacted developers of new tab homepage and they believe it is a firefox issue of some form, and I have had no reply form TMP :(, I just installed linus and now notice that I don't have this issue with it.
Whiteboard: [doc-waiting-1.9.3]
(In reply to comment #13)
> Probably, we should document this issue to MDC...

What do I document here? I don't see anything obvious. Do you just mean to note someplace "Don't steal focus?" I dunno.
Added a brief tidbit to documentation here:

https://developer.mozilla.org/en/Extensions/Extension_etiquette#Focus
Whiteboard: [doc-waiting-1.9.3]
You need to log in before you can comment on or make changes to this bug.