Closed Bug 272821 Opened 20 years ago Closed 16 years ago

Clicking the Home button puts the cursor in the address bar

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: choi9999, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Hi -- this is trivial, but mildly annoying. Clicking the Home button on the
toolbar usually leaves the cursor in the address toolbar. There are pages where
this isn't true -- e.g. if you set Google as your home page, your cursor starts
up in Google's search bar -- but it holds true if you set most other sites as
your home page. Basically, the Home button should work like any other bookmark.
This seems to hold true on PCs as well as Macs. I am using the default theme --
do not know if this holds true with other themes.

This isn't much, but I usually scroll down a page by pressing the space bar, and
this prevents that.

Reproducible: Always
Steps to Reproduce:
1. Set your home page as mail.yahoo.com or thedigitalbits.com.
2. Do not set your home page to, say, Google.com or Amazon.com.
Actual Results:  
The cursor should appear in the address bar.

Expected Results:  
Not put the cursor in the address bar. I usually scroll down a page by pressing
the space bar, and this prevents that.
I might be misunderstanding your report, but the reason that the cursor appears
in Google's search box when the page loads is that the page explicitly focuses
the input with a focus() call. Loading Google from a bookmark gives the same result.
My problem isn't with when the cursor doesn't pop up in the address bar -- I'm
fine with that. My problem is when it does pop up in the address bar after
hitting the Home button, as it does if you set your home page to many sites
besides Google, Amazon and others. Whenever you click on a bookmark, the cursor
does not appear in the address bar, and the Home button should operate in the
same manner.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

WFM with my home page as thedigitalbits.com or a local copy of
http://www.squarefree.com/start/.
(In reply to comment #3)
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107
Firefox/1.0
> 
> WFM with my home page as thedigitalbits.com or a local copy of
> http://www.squarefree.com/start/.

On my roommate's computer (Windows XP 5.1), when I try the same trick in Firefox
with thedigitalbits.com and www.squarefree.com/start, the problem with the
cursor is there.
Severity: minor → normal
Version: unspecified → 1.0 Branch
Assignee: bugs → nobody
QA Contact: bugzilla → toolbars
Version: 1.0 Branch → unspecified
Here's how to reproduce this (seemingly on Windows as well):
1. Set your home page to http://www.squarefree.com/start/
2. Open a new tab
3. Press the "home" toolbar button

Results:
The cursor will be at the end of the URL in the location/address bar. It will not be in the content. I can see this on Windows and Mac using FF 1.5.

I'm not sure what the expected results are, though I would expect that focus (and thus the cursor) would be put in the content of page to allow scrolling, etc.

Note: This only happens when pressing the home button or using the keyboard shortcut to go there. It does not happen on first load, afaict.

Confirming based on the above. Hardware -> All
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: MacOS X → All
Hardware: Macintosh → All
Version: unspecified → Trunk
using steps of comment 5 this WFM - cursor is not in address bar

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.