Closed Bug 246416 Opened 22 years ago Closed 21 years ago

New window focus issue if home page set to empty string (not about:blank)

Categories

(Firefox :: General, defect)

defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: douger34, Assigned: mconnor)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608 Firefox/0.8.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608 Firefox/0.8.0+ Use keyboard shortcut or new window menu entry to create a new window. The text insertion point is not in the URL box in the new window. You have to click there to start entering a URL. Reproducible: Always Steps to Reproduce: 1. See details 2. 3.
If you have a homepage, it opens to that page and focuses the content. If you have your homepage set to blank, it focuses the textfield. If there is content, we should focus that content. That is a sane and expected result.
Severity: major → minor
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
"If you have your homepage set to blank, it focuses the textfield." What textfield are you referring to? The URL box? I have my homepage set to blank, and that's exactly what it does not do. Maybe it was intended, but it doesn't work. Oops. I have the blank page set to the empty string rather than "about:blank". That's where the problem is. Is the code looking explicitly for "about:blank"? On Mozilla it works with an empty string.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Looks like it. What we should really do is if the field is empty on OK, we should change the pref to about:blank. Note that in the UI it does have a button for "Use Blank Page" that prefills about:blank.
Assignee: firefox → mconnor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Create new window with Ctrl-N or menu entry, cursor is not in URL box. → New window focus issue if home page set to empty string.
this also occurs on mac and linux (200407291-0.9 and 2004073008-0.9, respectively).
Assignee: mconnor → aaronleventhal
Component: General → Accessibility
OS: Windows 2000 → All
QA Contact: firefox.general → bugzilla
Hardware: PC → All
Summary: New window focus issue if home page set to empty string. → New window focus issue if home page set to empty string (not about:blank)
whoops, didn't mean to change the dev owner; setting back.
Assignee: aaronleventhal → mconnor
Component: Disability Access → General
Ok, so the fallback code we have in place actually treats a blank string (instead of about:blank) as a failure and uses the default homepage. Resolving this WORKSFORME, since this seems like a sane enough fallback.
Status: NEW → RESOLVED
Closed: 22 years ago → 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.