offline:mac:pop: mail/news download won't work after an offline/online sequence



MailNews: Backend
16 years ago
8 years ago


(Reporter: Jean-Pierre Melkonian, Unassigned)


Mac OS X

Firefox Tracking Flags

(Not tracked)




16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.1b) Gecko/20020721
BuildID:    2002072103

After going to offline, then online, mail/news download don't works

Reproducible: Always
Steps to Reproduce:
1.Open mail and group
2.Go offline
3.Choose download in the dialog
4.wait to be offline
5 Go online
6 Close/open a newsgroup tab

Actual Results:  The progress bar spins indefinitly

Expected Results:  Newsgroup read after a short time

I am connected via a cable/modem, permenently connected, so i have no dialup

The only way to restart is:
 go one more time offline
 choose "no download" in the dialog
 go on line
 now it works

I have also noticed that (sometimes ?) the browser is also affected. Impossible
do download a page.


16 years ago
QA Contact: huang → gchan


16 years ago
Assignee: mscott → bienvenu
Component: Networking: MailNews General → Offline

Comment 1

16 years ago
using commercial trunk
Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.1b) Gecko/20020722

I don't see your problem.

I am not sure what you mean in
>step 6 Close/open a newsgroup tab
so when I went back online, I double clicked on a newgroup
and it opened in a new window with no problems.

what exactly are you seeing?

Are you downloading any mail/newsgroups?


Comment 2

16 years ago
I don't double click. I click on the triangle, to close the newsgroup if it is 
and then i click on the triangle to open the newgroup. At this time mozilla is 
supposed to contact the newserver to look for new messages. 
I see the progress bar spinning at the bottom right of the window, but it never 

Comment 3

16 years ago
still unable to reproduce. After going online, clicking
the twisty to close/open results in no hang for me.

As far as I know there is no problem with the twisty for

Not sure what we can do to help you. New profile maybe?

Comment 4

16 years ago
Have you asked to download newsgroup when going offline ?
if not all works fine.

I am now working with build 2002072308

No change for my normal profile. I realized that there was no newsgroup check for 
offline dowload. But the problem is not here.

It is not really a problem for me, i am connected permanently via a cable/modem
and the news server of my provider responds correctly, so i never user offline. I 
did a test to see what mozilla does.

I have created a new profile (twice). I got a different hang.
each time i have not changed the default pref.

First time, opening  the mail window, i got the wizard.
I have not changed the default values. It found my name and email from internet 
panel (Probably)
I choosed only one newsgroup for suscribe.
Then immediately i choose to go offline. I have not changed offline setting
The icon changed immediately, the status was "Dowloading for off line" or some 
think like that. The status never changed. I clicked one more time on the icon. 
No change, no response. I was still off line with the same status message.
Same thing with go online in the file menu.
Curiously, clicking on "Get messages" button show a dialog with a "go on line" 
button. cliking on it, make me to go really on line. 
the "get msg" button is not always enabled 

second test and second new profile
I choosed
i have not suscribed to a group. This the only difference.
I have tried to go offline. Same thing. The icon changes immediately and the 
status message never show the end the dowload.

Conclusion: with a new profile, offline don't work at all.

I think i'll continue my tests as soon as possible to see the difference between 
my original profile and the new profiles i have created

Comment 5

16 years ago
My test with secnews were not correct. ssl was not checked. Some thing is missing 
in the wizard. Have i to submit another bug or enhancement ?

Curiously when i am offline, Mozilla accept to open the suscribe dialog. It waits
for eternity. Have i to submit another bug or enhancement ?

Now for my problems:

I can reproduce my original problem with a new profile when i have a mail account 
and a news server.

If i have only a news server, i have a hang (or the status bar is not changed) 
going offline

If i have only a mail account, off line works once. If then i go online and off 
line, the status stays to "doawloading for offline use"

Any idea ?

Comment 6

16 years ago
there's already a bug about the subscribe UI.

It could be that if you have no subscribed groups on a server, we have problems
doing a download sync. That's probably not been tested.

As far as your other problems are concerned, I'm wondering if there's a problem
with mac networking that doesn't survive an online -> offline -> online
transition, especially if the browser also stops working. DNS lookups in
particular might not be working. We've had similar problems on linux in the core
networking code.

Comment 7

16 years ago
>Curiously when i am offline, Mozilla accept to open the suscribe dialog. 
>It waits for eternity. Have i to submit another bug or enhancement ?

The subscribe bug is bug 92852

>If i have only a mail account, off line works once. If then i go online and off 
>line, the status stays to "doawloading for offline use"

 I see this. but this doesn't result in a hang or impair functionality.
 As soon as you click on a mail mesg, the status will dissapear.

>it could be that if you have no subscribed groups on a server, 
>we have problems doing a download sync. That's probably not been tested.

Yes confirmed. I need to file a new bug on this. my bad.

Have you actually selected a mail folder and/or newsgroup to download?
Are you physcially connected to network when going offline and then back online?
Have you actually subscribed to a newsgroup and logged into mail account
before going offline and downloading?
Is your mail account a imap mail account?

>I can reproduce my original problem with a new profile when i have a mail 
>account  and a news server.

I couldn't replicate this. 
I tried your comments (using a brand new profile)
with 2002072208 on Mac 9.2.2 and I have no problems going offline/online/
I tried following:

I created new profile and did these steps 
(I am phsycially connected to network when doing these steps)
1)create a profile
2)Bring up messenger
3)Create a imap mail account
4)create a newsgroup account
5)Login to mail
6)Subscribe to a newsgroup
7)Edit|Mail&Newsgroup Account Settings|Offline&Diskspace
8)click select button and chose a folder & newsgroup to download
9).click ok, ok
10)click on offline icon in lower right hand corner of messenger
11)get prompted to download, I click 'download'
12)I view my mail/newsgroup mesg offline with no problems.
13)I click offline icon to go back online
14)I click the twisty for mail and newsgroups and no problems.
   I can read a mail mesg, read a newsgroup mesg. No hangs or anything.
15)I can go offline/online etc.. again again with no problems

Comment 8

16 years ago
downloading a news server only w/no newsgroups bug is 
bug 158969.


Comment 9

16 years ago
just a precision, i have a pop account. 
Mac 9.1

Comment 10

16 years ago
reporter is correct. i see his bug.
investigating further... need check branch and another OS.

I think it's tied into having a pop/news acnt or newserver
w/no subscribed newsgrps and then downloading in either case.

working on it..

Comment 11

16 years ago
Ok ready for a doozy..

You're right David. Got to be network code problem with MAC.

I feel bad, I should have caught this.

This is a mac only bug. I tried on windows & linux and
I don't see the same results.

The problem is with a Pop account and saying 'download' when
you click offline widget. It works ok the first time but when
you try to repeat step again, you hang like the reporter said.

This happens in both Trunk & branch. I tested only mac 9.2.2,
I assume the same thing is in OS X also.

Steps to reproduce:
 0. create a new profile
 1. create your pop and/or news account
 2. login to pop and/or subscribe to newsgrp
 3. go offline and download (either by icon/prompt or download/sync
    [check boxes for mail/news/work offline])
    No problems. It works.
 4. go back online
 5. repeat step 3 again

result: status bar (barber pole) spinning, you see either
        'downloading mail for offline use' or 
        'downloading news for offline use'.
        It never goes offline.

        I can click offline icon again and get download prompt
        This doesn't happen if I say no to download. Then there
        are no problems going offline/online/offline/online
        as long as I say no to download

        Browser doesnt work also, like reporter said.
        The only way to 'clear this', go offline/online via browser,
        then browser works again.

expected: go offline w/no problems since you can't download a pop mail acnt.

Here are my tests I ran:

Mac both 20020719 brnch & 2002072208 trunk exhibit same behavior

pop/news w/no newsgrps -hangs, doesnt disconnect, barber pole (
                        see downloading mail for offline use mesg in bottom
                        frame of mesgr)
pop only -mac hangs, same as above
pop/news w/newsgrp (newsgrp not selected for offline) -bug, same as above
pop/news w/newsgrp (newsgrp selected for offline) -bug, same as above

No problems with imap acnts, that works fine.

But will get the same bad results if you have pop acnt & imap mail
acnt and imap doesn't have a folder selected for offline use.
But if you have imap folder selected for offline use, there is NO
PROBLEMS. It works as expected.

Windows (windows trunk 2002072208 & windows branch 20020722)
  pop only -ok
  pop/news w/newsgrp (newsgrp not selected for offline) -ok
  imap/news - ok

Linux (linux brnch 7-22 & linux trnk 7-22-10)
  imap-news w/newsgrp (both mail/newsgrp selected for offline) ok
  pop/news w/newsgrp (newsgrp not selected for offline) -ok
  pop only -ok

confirming bug.

changing summary line.
old summary line is Mail/news download don't work after an offline/online 

this worthy of nsbeta1? 
Ever confirmed: true
Summary: Mail/news download don't work after an offline/online sequence → offline:mac:pop: mail/news download won't work after an offline/online sequence

Comment 12

16 years ago
Work around when hang occurs:
 -click offline icon again & say don't download
  (then when you go back online, you can click offline icon & say
   download and it will go offline correctly)
 -go offline/online via browser

again bug only happens when you consecutivly go online/offline.

Comment 13

15 years ago
nominating since this can impair users who use offline
Keywords: nsbeta1

Comment 14

15 years ago
Mail triage team: nsbeta1-
Keywords: nsbeta1-


15 years ago
Keywords: nsbeta1
This bug is targeted at a Mac classic platform/OS, which is no longer supported
by Please re-target it to another platform/OS if this bug applies
there as well or resolve this bug.

I will resolve this bug as WONTFIX in four weeks if no action has been taken.
To filter this and similar messages out, please filter for "mac_cla_reorg".


14 years ago
OS: Mac System 9.x → MacOS X
Product: Browser → Seamonkey

Comment 16

11 years ago
There is a Similar thing with OSX 10.4 and thunderbird version (20061207)
- I Launch thunderbird
- Go offline downloading my mails
- GO online
- GO offline. I have the dialog. I say do downloand my messages
   and the download dont'nt terminates

QA Contact: grylchan → offline
Assignee: bienvenu → nobody
Flags: wanted-seamonkey2?
QA Contact: offline → mailnews-backend

Comment 17

8 years ago
I don't see any reason to give this special priority, but it's also not unwanted, so cancelling the wanted flag.
Flags: wanted-seamonkey2.0?
You need to log in before you can comment on or make changes to this bug.