Closed Bug 157995 Opened 22 years ago Closed 19 years ago

Tab title says "Loading..." after spawning a new window or download

Categories

(Camino Graveyard :: Downloading, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.9

People

(Reporter: winnie, Assigned: sfraser_bugs)

References

Details

Attachments

(2 files)

07-17 build on OS 10.1.5.

There are a couple of scenarios that I have been able to identify that cause the
tab title to say "Loading..." after the page is finished loading.  There may be
 other scenarios too, but I have not been able to identify the trends yet.

Case 1:  Downloading a file from an ftp site
1.  Have more than one tab open.
2.  Go to an ftp site to download a file, e.g.
ftp://ftp.mozilla.org/pub/chimera/nightly/latest-trunk.
3.  Notice that the tab title says "Index of
ftp://ftp.mozilla.org/pub/chimera/nightly/latest-trunk".
4.  Click on the file to download it.
5.  Dialog box comes up asking where you'd like to download the file.  Tab title
says "Loading..."
6.  File download completes.

Expected result:  Tab title should say "Index of
ftp://ftp.mozilla.org/pub/chimera/nightly/latest-trunk" regardless of download
progress, ie whether it has started or finished.

Actual result:  Tab title still says "Loading...".

Note that right-clicking to download the file does not cause this tab title
problem.  In the case of right-clicking the file to download it, the tab title
consistently says "Index of
ftp://ftp.mozilla.org/pub/chimera/nightly/latest-trunk" from steps 2 to 6.

Case 2:  Playing a video in a new window
1.  Have more than one tab open.
2.  Go to a site such as news.com.  
3.  Do a search for "netscape".
4.  Tab title says "CNET news.com - netscape".
5.  Scroll down to the "Video" section of the test results and click on the June
10, 2002 video "Another browser war on the horizon?"
6.  New window opens.  Tab title now says "Loading...".  
7.  Video plays in new window and finishes playing.

Expected result:  Tab title to remain as as "CNET news.com - netscape"
regardless of whether new window is done loading video.

Actual result:  Tab title says "Loading..." still.
->pinkerton
Assignee: saari → pinkerton
Blocks: 147975
minor
Target Milestone: --- → Chimera0.5
I'm seeing this behavior now on Bugzilla and http://www.w3.org/TR/REC-CSS2/
Setting severity to minor per comment 2.
Severity: normal → minor
Target Milestone: Chimera0.5 → Chimera0.9
I can reproduce this with any downloads, not just FTP. In one of your tabs, go to any 
webpage which has a download link. Click on the link. A save dialog opens. Press save, 
a progress dialog pops up etc. - the tab title will stay at "Loading..." even though the 
download is in a seperate window, and even if the download is finished.
smfr, don't you have another bug for this...?
Component: General → Tabbed Browsing
QA Contact: winnie → sairuh
I'll take.
Assignee: pinkerton → sfraser
I get this bug every time on the Web page that I author at http://providentcu.org/

I don't know what it is about that page, but it always says "loading" in the tab.
This bug is specific to spawning new windows or downloads.
Status: NEW → ASSIGNED
Summary: Tab title says "Loading..." after page is finished loading → Tab title says "Loading..." after spawning a new window or download
i can repro case 1 when doing a download, but cannot seem to repro case 2 with
the new window containing a video.

can others still repro case 2?
*** Bug 200102 has been marked as a duplicate of this bug. ***
Hm there still seem to be issue here with this :( 20040101 NB
(In reply to comment #8)
> I get this bug every time on the Web page that I author at http://providentcu.org/
> 
> I don't know what it is about that page, but it always says "loading" in the tab.

frames... any web page with frames in it will display "Loading..." as the tab title.

as far as I can tell, it doesn't seem to be a problem when opening in a new window.


(camino 0.8b)
(In reply to comment #0)

> 1.  Have more than one tab open.

This is still true.

> Case 2:  Playing a video in a new window
> 1.  Have more than one tab open.
This is gone.

Changing component to -> downloads.
cc josh who knows the download bits in Camino
Component: Tabbed Browsing → Downloading
over to geoff
Assignee: sfraser → me
Status: ASSIGNED → NEW
Attached image Screenshot
All tabs labeled "Load..." have actually finished.
I tend to popen a lot of pages at versiontracker in tabs, then set each one to
download and move across the set. So I see this bug a lot.
This happens for loads that don't send us a 'setTitle' notification.
This patch adds a boolean to BrowserWrapper to flag whether we received a
setTitle: call from gecko between the onLoadingStarted and onLoadingCompleted.
If we didn't, then we set the tab title to the page title (rather than just
leave it at "Loading..." which happens without the patch).
Assignee: me → sfraser_bugs
Status: NEW → ASSIGNED
Comment on attachment 172541 [details] [diff] [review]
Patch to track whether we got a setTitle:

Note that some other changes were hacked out of the patch by hand, so it might
not apply to a tree.
Attachment #172541 - Flags: review?(pinkerton)
On second thoughts, I wonder if we should just always set the tab title to the
page title in onLoadingComplete:?
This also happens in the Gmail inbox.
Slightly modified fix checked in (got r=pink on irc).
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Using 20050130, I'm still seeing this on http://boston.weather.com/ My guess is
that it's iframe related. I'm happy to create a new bug if that's a different issue.
I can't connect to boston.weather.com. Mis-typed?
That page is doing some JS load of a wmv file. Ugly.
Also, if you click away from a page whose name was "corrected" and then click
back, loading reappears; i.e., the fix is temporary. :-(

E.g. 1) visit MacUpdate and click on the filesize column to start a download and
get "Loading..." displayed. 
 
2) Cmd/Cmd-shift-click on the name of another app to go to its info page while
you wait for the previous download to get underway and for the main page name to
retun to "MacUpdate: etc."  

3) Decide you don't want to download this app whose info page you are reading
and return to the MacUpdate main page to see if there are other interesting
updates to download.

4) Observe that "MacUpdate: etc." has returned to "Loading..."

Should this be reopened?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Attachment #172541 - Flags: review?(pinkerton)
*** Bug 294275 has been marked as a duplicate of this bug. ***
I can't reproduce the problem, having tried the various test cases here. Can
anyone? I might have fixed this a while back.
Marking fixed. Reopen if you can provide a reproducible case.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: