Closed Bug 103329 Opened 23 years ago Closed 21 years ago

ctrl+t open new tabs with text "about:blank" filled in

Categories

(SeaMonkey :: Tabbed Browser, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: spam, Assigned: jag+mozilla)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

since it was added, ctrl+t opens a new tab with the text "about:blank"
Presuably  because i start browser with a blank page.
It's a little annoying to always have to delete that text before typing/pasting
something to urlbar.

Opening a new browser window does not display about:blank in urlbar.
New tabs shouldn't display it either.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Actually, a new tab used to open whatever you have defined as your homepage--I
just tried this in build 2001100908--but has changed recently to default to
about:blank.  I believe the change was in the October 18 builds.

Agreed, though--opening a new tab should behave similarly to opening a window.
hideAboutBlank only gets checked once, which is to stop new windows from
displaying about:blank but still allowing about:blank to be displayed later on
on the browser session. Perhaps the about:blank could be hidden if there is no
session history?
If you think opening new tabs should behave the same as opening new windows 
(they no longer do), please raise your voice against:

http://bugzilla.mozilla.org/show_bug.cgi?id=105589

Jason.
This bug was fixed by 105587.  When you open a new blank tab with CTRL+T, the
url bar will be focused and emptied.  
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 110285 has been marked as a duplicate of this bug. ***
QA Contact: blakeross → sairuh
yep, the urlbar is empty in a new [blank] tab.

vrfy'd fixed using 2001.11.28.0x-comm bits on linux rh7.2, winnt and mac 10.1.1.
Status: RESOLVED → VERIFIED
This has regressed, current trunk CVS; Linux.
The urlbar now again has the text about:blank when i open a new tab, and it is
not focused
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
reassign
Assignee: hyatt → jaggernaut
Status: REOPENED → NEW
I don't see this. I'm assuming you set your homepage to "about:blank" (since
there's a bug in the code I checked in yesterday for bug 109551), with that a
new tab opens with the urlbar empty and focused.

As soon as my build is finished I'll see what it does with my real fix for bug
109551, though the code is there to focus the urlbar for "about:blank" (and the
code to not show "about:blank" I didn't touch).
You assume wrong. I have not set my homepage to "about:blank. I have checked the
radio-button for "Blank page" in preferences/navigator (under "when navigator
starts up, display")
Set your Home Page to "about:blank" and "When Navigator starts up" to Home Page.
 That should fix this (at least as a workaround).
Jason Bassford:
It is a regression. I backed out the cause and things work again.
It is the fix for bug 109551 that caused this.
You can back out the "fix" like this:

cvs update -j1.490 -j1.489 mozilla/xpfe/browser/resources/content/navigator.js
Depends on: 109551
Keywords: regression
Comment on attachment 117029 [details] [diff] [review]
If the uri is just whitespace, interpret it as "about:blank"

sr=me
Attachment #117029 - Flags: superreview+
Attachment #117029 - Flags: review+
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago21 years ago
Resolution: --- → FIXED
And it works. Thank you. Half a cokie now, the rest when bug 104778 gets fixed.
It almost worked. If the homepage is "" then we now get undefined... Well, did,
I just checked in a fix for that too.
Comment on attachment 117029 [details] [diff] [review]
If the uri is just whitespace, interpret it as "about:blank"

>+      if (/^\s*$/.test(uriToLoad))
!/\S/.test next time :-P
vrfy'd fixed --tested with 2003.03.13.05 comm trunk on rh8.0.
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.