Closed Bug 268602 Opened 20 years ago Closed 19 years ago

Throbber doesn't do anything

Categories

(Calendar :: Sunbird Only, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 323952

People

(Reporter: mattwillis, Assigned: mattwillis)

Details

Attachments

(2 files)

The throbber currently doesn't do anything.
It should at least throb when we're doing something network related, like
refreshing a remote calendar.
Attachment #165293 - Flags: first-review?(mvl)
Status: NEW → ASSIGNED
Comment on attachment 165293 [details] [diff] [review]
rev0 - trunk and branch - makes throbber throb during remote remote cals (checked in)

Patch looks good, but aren't there more places that could use a spinning
throbber, like uploading?
Attachment #165293 - Flags: first-review?(mvl) → first-review+
Sure, but I wasn't sure how much more of this stuff will be changing on the trunk. 

I can look for more places to throb, but check this one in to get us started. :)
Comment on attachment 165293 [details] [diff] [review]
rev0 - trunk and branch - makes throbber throb during remote remote cals (checked in)

patch checked in.
Leaving bug open for other places to make the throbber work.
Attachment #165293 - Attachment description: rev0 - trunk and branch - makes throbber throb during remote remote cals → rev0 - trunk and branch - makes throbber throb during remote remote cals (checked in)
This patch causes a problem if the throbber is not on the toolbar.
Patch adds checks to make sure the throbber actaully exists, to prevent
problems if it isn't on the toolbar.
Attachment #166694 - Flags: first-review?(gekacheka)
I tried testing what happens if you refresh and the network is not available.

It throbs forever.

I also get a window with no title or content, and the following error:

Error: [Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.requestSucceeded]"  nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame ::
chrome://calendar/content/calendarManager.js :: anonymous :: line 730"  data: no]
Source File: chrome://calendar/content/calendarManager.js
Line: 730

Maybe the onStreamComplete code to call the next refreshAllRemoteCalendars
should be in a finally block?
Comment on attachment 166694 [details] [diff] [review]
add conditional checks (checked in)

r=gekacheka to check in this patch, not ok to close bug.
Attachment #166694 - Flags: first-review?(gekacheka) → first-review+
Attachment #166694 - Attachment description: add conditional checks → add conditional checks (checked in)
QA Contact: gurganbl → sunbird

*** This bug has been marked as a duplicate of 323952 ***
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: