Closed Bug 1280837 Opened 9 years ago Closed 9 years ago

Offline mode: Status Bar displays "Loading message..." while Thunderbird hogs CPU

Categories

(Thunderbird :: Folder and Message Lists, defect)

45 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: chealer, Unassigned)

References

()

Details

When I go to Offline mode (using synchronization defaults), it proposes to download messages now, and I accept. The status bar then shows Thunderbird scanning folders, and going to offline mode about 20 seconds later. Nevertheless, it seems many mails are never downloaded, since my profile is less than 200 MB while Gmail says it uses 1.93 GB. When I go - for example - to the All Mail folder and select a random message which is not stored locally, the message pane remains empty while the status bar says "Loading message...", and the progress bar at the right is fully green. This message appears to stick forever, reminiscent of bugs #561328 and #573325. After some actions are performed, the status bar message disappears and the message pane displays: The body of this message has not been downloaded from the server for reading offline. To read this message, you must reconnect to the network, choose Offline from the File menu and then uncheck Work Offline. In the future, you can select which messages or folders to read offline. To do this, choose Offline from the file menu and then select Download/Sync Now. You can adjust the Disk Space preference to prevent the downloading of large messages. Before these actions are performed, Thunderbird uses roughly 10% CPU (at least 2%). This activity can persist for at least 10 minutes. The actions which will stop it include: simply hiding and restoring the message pane switching to another tab On 1 install, I noticed the status bar saying at times it was waiting for imap.googlemail.com. The CPU was also abused in those instances. This might mean that Thunderbird is waiting for DNS resolution each time this happens, but I cannot explain the CPU usage. Once a certain message has triggered this bug, that message stops exposing the bug (the failure message immediately displays), at least for that offline session. This happens on 2 Thunderbird 45.1.1 installs on Windows 10 on 2 tested, both configured with the same Gmail account.
I forgot to specify regarding the mystery of some mails not being stored locally that I reported a related issue in ticket #1280787.
> Once a certain message has triggered this bug, that message stops exposing the bug (the failure message immediately displays), at least for that offline session. What is "a certain message"? I don't see you mentioning it prior to this last paragraph.
Flags: needinfo?(chealer)
(In reply to Wayne Mery (:wsmwk, NI for questions) from comment #2) > > Once a certain message has triggered this bug, that message stops exposing the bug (the failure message immediately displays), at least for that offline session. > > What is "a certain message"? I don't see you mentioning it prior to this > last paragraph. Let me rephrase the sentence you quote: Once message x has triggered this bug, message x stops exposing the bug (the failure message immediately displays), at least for that offline session.
Flags: needinfo?(chealer)
How big (how many GB) is this gmail account? Did you observe this prior to version 45? What happens if you do in this order - start thunderbird - File | offline | work offline - and choose to NOT sync - File | offline | work online - File | offline | work offline - and choose to sync In reply to Filipus Klutiero from comment #1) > ... > locally that I reported a related issue in ticket #1280787. we use the format of "bug ####" so that bugzilla will automatically create a link in the bug comments for us, as in bug 1280787
Flags: needinfo?(chealer)
(In reply to Wayne Mery (:wsmwk, NI for questions) from comment #4) > How big (how many GB) is this gmail account? 1.46 GB > Did you observe this prior to version 45? No, but I did not try this prior to version 45 neither. > What happens if you do in this order > - start thunderbird > - File | offline | work offline - and choose to NOT sync > - File | offline | work online > - File | offline | work offline - and choose to sync Could you clarify what you want? You want me to do all that, and then to try reproducing? > In reply to Filipus Klutiero from comment #1) > > ... > > locally that I reported a related issue in ticket #1280787. > > we use the format of "bug ####" so that bugzilla will automatically create a > link in the bug comments for us, as in > bug 1280787 It would be jargonistic to say one reported something in bug #1234. One reports something in bug *report* #1234... and "bug report" is longer than just "ticket".
Flags: needinfo?(chealer)
(In reply to Filipus Klutiero from comment #5) > (In reply to Wayne Mery (:wsmwk, NI for questions) from comment #4) > > ... > > What happens if you do in this order > > - start thunderbird > > - File | offline | work offline - and choose to NOT sync > > - File | offline | work online > > - File | offline | work offline - and choose to sync > > Could you clarify what you want? You want me to do all that, and then to try > reproducing? precisely, please > > In reply to Filipus Klutiero from comment #1) > > > ... > > > locally that I reported a related issue in ticket #1280787. > > > > we use the format of "bug ####" so that bugzilla will automatically create a > > link in the bug comments for us, as in > > bug 1280787 > > It would be jargonistic to say one reported something in bug #1234. One > reports something in bug *report* #1234... and "bug report" is longer than > just "ticket". If you prefer. But only bug #### works in bugzilla, and other people will ask you to do the same.
Flags: needinfo?(chealer)
(In reply to Wayne Mery (:wsmwk, NI for questions) from comment #6) > (In reply to Filipus Klutiero from comment #5) > > (In reply to Wayne Mery (:wsmwk, NI for questions) from comment #4) > > > ... > > > What happens if you do in this order > > > - start thunderbird > > > - File | offline | work offline - and choose to NOT sync > > > - File | offline | work online > > > - File | offline | work offline - and choose to sync > > > > Could you clarify what you want? You want me to do all that, and then to try > > reproducing? > > precisely, please The bug reproduces after these steps. > > > In reply to Filipus Klutiero from comment #1) > > > > ... > > > > locally that I reported a related issue in ticket #1280787. > > > > > > we use the format of "bug ####" so that bugzilla will automatically create a > > > link in the bug comments for us, as in > > > bug 1280787 > > > > It would be jargonistic to say one reported something in bug #1234. One > > reports something in bug *report* #1234... and "bug report" is longer than > > just "ticket". > > If you prefer. But only bug #### works in bugzilla, and other people will > ask you to do the same. I requested support for "ticket #x" in issue report #1285748.
Flags: needinfo?(chealer)
(In reply to Filipus Klutiero from comment #0) ­[...] > Nevertheless, it seems many mails are never downloaded, since my profile is > less than 200 MB while Gmail says it uses 1.93 GB. Sorry, I was looking in the wrong directory. The All Mail file in AppData\Roaming\Thunderbird\Profiles\wadzk524.default\ImapMail\imap.gmail.com is large enough to contain the whole folder.
reporter is gone, so we lack the testcase
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.