Closed Bug 328593 Opened 18 years ago Closed 18 years ago

progess/status doesn't work in folder views

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

(Keywords: fixed1.8.1)

Attachments

(2 files)

If you're in a non-default view, msg progress doesn't happen, because the msgWindow isn't set. Proposed fix coming up.
Attached patch proposed fixSplinter Review
this also fixes a few js warnings about the view datasources vars being used without being declared
Attachment #213193 - Flags: superreview?(mscott)
Scott, this also fixes the problem I was seeing where compacting folders wasn't showing progress.
Status: NEW → ASSIGNED
Comment on attachment 213193 [details] [diff] [review]
proposed fix

nice find david.
Attachment #213193 - Flags: superreview?(mscott)
Attachment #213193 - Flags: superreview+
Attachment #213193 - Flags: approval-branch-1.8.1+
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
(In reply to comment #2)
> this also fixes the problem I was seeing where compacting folders wasn't
> showing progress.

Bug 275199?  Bug 324085?  Bug 325796?
this fix only affects folder views (where you cycle through the list of folder views by clicking on the folder name column). It didn't look to me like those users were using folder views. *However*, the cause could be very similar, especially the user who was seeing the problem after closing the stand-alone msg window. From my recollection of the code, that clears the msg window for the datasource, which isn't right...
cycling through the views also breaks this. Not sure who's clearing the msgWindow, or if it's using a different datasource. I don't hit a breakpoint on clearing the msgwindow.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
ah, it's nsMsgRDFDataSource::Cleanup() - I think when we display a folder view, we should re-init the msg window for the datasource(s) involved.
this should fix this bug more generally, though I think we still have a problem if you open a stand-alone msg window and close it (we've always had that problem, I believe)
Attachment #213796 - Flags: superreview?(mscott)
Comment on attachment 213796 [details] [diff] [review]
fix cycling views case

this seems like a reasonable thing to do.
Attachment #213796 - Flags: superreview?(mscott)
Attachment #213796 - Flags: superreview+
Attachment #213796 - Flags: approval-branch-1.8.1+
last fix checked into trunk and branch.
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: