Closed Bug 101831 Opened 23 years ago Closed 22 years ago

Tabbrowser tab title goes to (Untitled) on frame page w/ meta refresh

Categories

(SeaMonkey :: Tabbed Browser, defect)

x86
All
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0.1

People

(Reporter: wd, Assigned: caillon)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.1+)Gecko/20010619
BuildID:    2001092603

The URL listed in this bug is a frameset page where one of the frames has a meta
refresh.  Once the frame refreshes, the tabbrowser tab title changes to (Untitled)

Reproducible: Always
Steps to Reproduce:
1.Hit Ctrl-T
2.Go to http://dormcam.org/index1.shtml
3.

Actual Results:  Tab title is initially correct, but once the frame refreshes it
goes to "(Untitled)"

Expected Results:  Tab title doesn't change.
See bug 101827 for a way to make the tab's title change to (Untitled) in a frame
without meta refresh. I've also found that it you very quickly hit the Stop
button while a web page is just starting to load (I think while it's connecting
to the server), the tab title will change to (Untitled) instead of not changing.
Sorry to drag you guys in, but I hope to cause another bug to be id'd or filed:
tinderbox does a refresh or server-push that keeps advancing session history,
wrongly (a 4xp bug).  With tabbed windows, this session history advance is
accompanied by the change to (Untitled).  Maybe these bugs (session history is
advanced for each push; loss of title) are unrelated, but I suspect not.

/be
I think this may be a dupe of bug 101827 
(or the other way around)
radha: see brendan's comments above... any thoughts?
I recently fixed the problem of session history advancing for subframe meta
refreshes. The title problem could be solved when I fix bug 96163. scheduled for
mozilla 1.0
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Note that this also happens if you go to a new URL from a tabbed page, and it
cannot connect; the title gets lost.  (Should that be a different bug?)
Target Milestone: mozilla1.0 → mozilla1.0.1
Could someone test the patch in comment 14 of bug 113798 to check if it really
fix this bug ?
Has anyone checked these bugs to see if my patch to bug 105842 has fixed them?
I also see this if a frame refreshes (even though the parent does not). Surely
refreshing a frame shouldn't affect the page's title? Or is it something to do
with the "Loading..." message which appears in the tab's title - maybe mozilla
can't put the title back to what it was before correctly.

I'm using build 2002031008 on Linux.
It's probably been suggested before but how about just using the current page
title (as displayed by the main browser window) this appears to be always
correct so isn't it possible to use this value rather than whatever value we're
trying to use (the main browser iwndow must get the page title form somewhere!)-
alternatively, does the patch for bug 113798 relate to/fix this? This is very
user visible and together with the classic skin bug where the borders of the
tabs got lost (now fixed) would really clean up the most annoying things about
tab browsing in mozilla.
There are many similar bugs, all dupes?

Bug 101827 was already mentioned.
Further: bug 108350, bug 108350, bug 108189, bug 111118, bug 150669

pi
Blocks: 152127
My patch to Bug 108421 would fix this..
->me
Assignee: hyatt → caillon
Status: ASSIGNED → NEW
Component: XP Toolkit/Widgets: XUL → Tabbed Browser
This bug has been fixed by my check-in to bug 152127.  Resolving fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
vrfy'd fixed using 2002.07.25 comm TRUNK builds on linux rh7.2, win2k and mac
10.1.5.

tested with the url provided here, as well as framed and non-framed content that
refreshes.
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.