hang if you close mozilla when offline (empty trash on exit = ON)

VERIFIED FIXED in mozilla0.9.1

Status

SeaMonkey
MailNews: Backend
P1
normal
VERIFIED FIXED
17 years ago
13 years ago

People

(Reporter: grylchan, Assigned: Bienvenu)

Tracking

Trunk
mozilla0.9.1
x86
All

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [nsbeta1+] want for mozilla 0.9.1)

Attachments

(1 attachment)

(Reporter)

Description

17 years ago
BuildID:    2001050304

If you have a IMAP mail account, select the preference "empty trash on
exit", go offline, and exit messenger; the result is
it appears mozilla has quit, but the process is still runnning in the
background.

Reproducible: Always
Steps to Reproduce:
1.Log In into IMAP server (don't think the deletion model matters)
2.Go into Mail/News Account Settings
3.Select your account and then click server settings
4.Click on "empty trash on exit" preference and click ok
5.Go offline (either by clicking offline icon or from the File menu)
6. Exit Mozilla

Actual Results:  Mozilla appears to quit. But if run Task Manager (on Win NT), 
you will see the process still running

Expected Results:  Mozilla quits and if you won't see the process in Task 
Manager (on Win NT)

It hangs but it's not a visual Hang like it was with
"Clean up inbox on exit" bug 76687. It 'looks' like
it quits but it is really running in the background.

Haven't tried any of the linux or mac builds.
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED
Priority: -- → P1
(Assignee)

Updated

17 years ago
Keywords: nsbeta1

Comment 1

17 years ago
marking nsbeta1+
Whiteboard: [nsbeta1+]
(Reporter)

Updated

17 years ago
QA Contact: esther → gchan
(Assignee)

Comment 2

17 years ago
Created attachment 33576 [details] [diff] [review]
proposed fix
(Assignee)

Comment 3

17 years ago
CC'ing Navin and Seth for review - trivial fix to return error code. We won't
get into the code that removes sub-folders, but that's not likely to work if
deleting messages didn't work.

Comment 4

17 years ago
r=naving. 
as hwaara pointed out to me,

why not "if (NS_FAILED(rv)) return rv;"
(Assignee)

Comment 6

17 years ago
well, they're the same in the end. But I change it.
blizzard, isn't this the bug that was making your life hell?

Updated

17 years ago
Target Milestone: --- → mozilla0.9.1
(Assignee)

Comment 8

17 years ago
fix checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
I don't use offline mode so no, it hasn't been a big deal to me.  Sounds nasty,
though.
Whiteboard: [nsbeta1+] → [nsbeta1+] want for mozilla 0.9.1
bliz:  I was thinking of your "hang on exit" bug with imap.
(Reporter)

Comment 11

17 years ago
using 2001052404 build on NT 4.0, 2001052308 build on Linux 2.2, and
2001052408 on Mac OS 9.0.4, I have verified this works.

Loggin into a IMAP server, Setting the pref "Empty trash on exit", 
going offline, then quiting Mozilla does not result in a hang/crash/
process running in background.

Marking as verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.