Closed Bug 525848 Opened 15 years ago Closed 14 years ago

Content tabs don't display "Loading..." string between page loads

Categories

(Thunderbird :: Toolbars and Tabs, defect)

defect
Not set
normal

Tracking

(thunderbird3.1 beta1-fixed)

RESOLVED FIXED
Thunderbird 3.1b1
Tracking Status
thunderbird3.1 --- beta1-fixed

People

(Reporter: standard8, Assigned: standard8)

Details

Attachments

(1 file)

There is support for it, but it doesn't quite work, so when clicking through to different pages we don't get the "Loading..." (although we do get the busy indication).

The basic issue is that we're trying to set the tab title to Loading but contentTabType::onTitleChanged is overriding it to the browser title and we probably need to change that to detect if we're loading or not.
Target Milestone: --- → Thunderbird 3.1a1
Attached patch The fixSplinter Review
Eventually worked this one out. The issue is that when I originally wrote the code and trying to handle DOMTitleChanged I was relying on setTabTitle to call onTitleChanged and handle setting of the title there.

Unfortunately that was wrong, because when we want to set the title to other things we want to set it to the value we're supplying and not be overridden by the document title.

This patch makes us behave the same way as browser.

I don't see an easy test for this as we'd have to reliably delay/detect the network state and check at the right times that the right thing was set. As we've only got access on local network, I'd think that would be difficult.
Attachment #428211 - Flags: review?(bugmail)
Attachment #428211 - Flags: review?(bugmail) → review+
Checked in: http://hg.mozilla.org/comm-central/rev/e6c5631dce79
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: Thunderbird 3.1a1 → Thunderbird 3.1b1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: